-
Notifications
You must be signed in to change notification settings - Fork 110
BE-265: HashQL: Make CopyPropagation aware of local re-assignments #8231
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
base: bm/be-264-hashql-rename-sroa-to-projectionforwarding
Are you sure you want to change the base?
Conversation
PR SummaryCore API changes
Copy propagation improvements
Refactors/cleanup
Tests/docs
Written by Cursor Bugbot for commit 1c1b05d. This will update automatically on new commits. Configure here. |
5702e6e to
d4a3d01
Compare
d4a3d01 to
8e4f5be
Compare
f3c0958 to
0fc7994
Compare
CodSpeed Performance ReportMerging #8231 will not alter performanceComparing Summary
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## bm/be-264-hashql-rename-sroa-to-projectionforwarding #8231 +/- ##
========================================================================================
+ Coverage 59.78% 59.81% +0.02%
========================================================================================
Files 1066 1066
Lines 106191 106239 +48
Branches 4478 4472 -6
========================================================================================
+ Hits 63488 63545 +57
+ Misses 41963 41956 -7
+ Partials 740 738 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🤖 Augment PR SummarySummary: Extends HashQL MIR copy propagation to handle local-to-local copies (not just constants) and simplifies MIR place/operand helpers. Changes:
Technical Notes: The pass remains single-pass (reverse postorder), does not traverse projections, and assumes SSA-like single-assignment locals for soundness. 🤖 Was this summary useful? React with 👍 or 👎 |
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.

🌟 What is the purpose of this PR?
Enhance the
Place::localfunction to be more efficient by making it aconst fnthat doesn't require an interner parameter, and add a convenientFrom<Local>implementation forOperandto simplify code that converts locals to operands.🔍 What does this change?
Place::local()aconst fnthat doesn't require an interner parameterFrom<Local>implementation forOperandto simplify codePre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
This PR:
📜 Does this require a change to the docs?
The changes in this PR:
🕸️ Does this require a change to the Turbo Graph?
The changes in this PR:
🛡 What tests cover this?