Closed harkal closed 4 months ago
this seems fine. should we also add back in the loop for remove_unused_variables?
i think we call the store elimination pass too many times now -- i get identical bytecode across a range of contracts after removing the first store elimination pass
i think we call the store elimination pass too many times now -- i get identical bytecode across a range of contracts after removing the first store elimination pass
I updated the pass to not require multiple calls!
What I did
Apply
mem2var
pass after we are in SSA form -as appropriate-, and add an additional store elimination pass afterSCCP
. Improves code size a bit.How I did it
How to verify it
Commit message
Description for the changelog
Cute Animal Picture
![Put a link to a cute animal picture inside the parenthesis-->]()