Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
HodanPlodky committed Feb 7, 2025
1 parent ccdccf6 commit fbb2da5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vyper/venom/passes/branch_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from vyper.venom.passes.base_pass import IRPass


# for these instruction exist optimization that
# could benefit from iszero
def iszero_can_help(inst: IRInstruction) -> bool:
if inst.opcode == "eq":
return True
Expand Down

0 comments on commit fbb2da5

Please sign in to comment.