-
-
Notifications
You must be signed in to change notification settings - Fork 804
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix[venom]: add make_ssa
pass after algebraic optimizations
#4292
fix[venom]: add make_ssa
pass after algebraic optimizations
#4292
Conversation
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
magic! 🪄
make_ssa
pass after algebraic optimizations
What I did
Resolve #4288 caused by unnormalised code after store elimination manipulating
phi
instructions. Added a test case for it.How I did it
Perform a
MakeSSA
pass after algebraic optimizationsHow to verify it
Commit message
Description for the changelog
Cute Animal Picture