-
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
BE-265: HashQL: Make CopyPropagation aware of local re-assignments #8231
Conversation
PR SummaryModernizes constructor APIs and broadens MIR optimizations.
Written by Cursor Bugbot for commit bee6b36. This will update automatically on new commits. Configure here. |
5702e6e to
d4a3d01
Compare
d4a3d01 to
8e4f5be
Compare
f3c0958 to
0fc7994
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## bm/be-264-hashql-rename-sroa-to-projectionforwarding #8231 +/- ##
========================================================================================
+ Coverage 80.77% 80.94% +0.17%
========================================================================================
Files 81 81
Lines 10527 10575 +48
Branches 282 276 -6
========================================================================================
+ Hits 8503 8560 +57
+ Misses 1914 1907 -7
+ Partials 110 108 -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.
libs/@local/hashql/mir/src/pass/transform/copy_propagation/mod.rs
Outdated
Show resolved
Hide resolved
9f9a046 to
b51e5cd
Compare
3941c94 to
719edd0
Compare
b51e5cd to
748d32c
Compare
719edd0 to
5bb7948
Compare
748d32c to
de61ae3
Compare
5bb7948 to
dd0c9b9
Compare
de61ae3 to
5f7b4cc
Compare
dd0c9b9 to
a300008
Compare
a300008 to
bee6b36
Compare
Merge activity
|

🌟 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?