phis with identical operands don't get eliminated #4506
Labels
bug - bytecode performance
bug affecting bytecode performance (not correctness)
bug - venom
bug in experimental venom pipeline
Version Information
vyper --version
): d395dd0What's your issue about?
phi instructions where both branches produce the same value don't get reduced.
the following vyper source code demonstrates the issue:
the resulting output looks like this:
%alloca_2_18_1
could get reduced to%13
, but it doesn't, leading to suboptimally branching and joining.The text was updated successfully, but these errors were encountered: