fix[venom]: add make_ssa pass after algebraic optimizations#4292
fix[venom]: add make_ssa pass after algebraic optimizations#4292charles-cooper merged 15 commits intovyperlang:masterfrom
make_ssa pass after algebraic optimizations#4292Conversation
|
How do we get unnormalized code after algebraic optimizations? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4292 +/- ##
===========================================
- Coverage 89.39% 50.86% -38.54%
===========================================
Files 112 112
Lines 15923 15927 +4
Branches 2693 2694 +1
===========================================
- Hits 14235 8101 -6134
- Misses 1192 7179 +5987
- Partials 496 647 +151 ☔ View full report in Codecov by Sentry. |
|
since MakeSSA is expensive, i think this solution works, but is not ideal. i'm ok with merging it as a kludge, but i think we want to leave a note to circle back and figure out why we are being taken out of ssa. |
charles-cooper
left a comment
There was a problem hiding this comment.
there's something strange going on -- i checked if we are still in SSA form after the store elim, simplifyCFG and algebraic optimization passes and we still are -- seems something else is going on
…r into fix/make_ssa_after_algebraic
make_ssa pass after algebraic optimizations
What I did
Resolve #4288 caused by unnormalised code after store elimination manipulating
phiinstructions. Added a test case for it.How I did it
Perform a
MakeSSApass after algebraic optimizationsHow to verify it
Commit message
Description for the changelog
Cute Animal Picture