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 👎 |
libs/@local/hashql/mir/src/pass/transform/copy_propagation/mod.rs
Outdated
Show resolved
Hide resolved
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?