-
Notifications
You must be signed in to change notification settings - Fork 229
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
compiler: Improve IndexDerivative lowering #2288
Conversation
"Fabio, have you thought about just performing a round of "Yes I have, unfortunately it's not that easy because CSE is a Cluster-local pass, which doesn't work well here" |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2288 +/- ##
=======================================
Coverage 86.76% 86.76%
=======================================
Files 229 229
Lines 42884 42893 +9
Branches 7951 7953 +2
=======================================
+ Hits 37207 37216 +9
Misses 5002 5002
Partials 675 675 ☔ View full report in Codecov by Sentry. |
Why does it not work well? Not sure I understand TBH |
CSE would be able to see that r0 is unnecessary here and safely removable. But Note that this is just a simplified example You would need to understand |
Thanks |
Tiny enhancement to avoid useless stupid temporary variables in the generated code