BE-304: HashQL: Terminator placement based on capabilities#8359
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
PR SummaryCursor Bugbot is generating a summary for commit c04d28b. Configure here. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## bm/be-303-hashql-split-basic-blocks-depending-on-largest-available #8359 +/- ##
======================================================================================================
+ Coverage 66.73% 67.06% +0.32%
======================================================================================================
Files 797 799 +2
Lines 72247 72971 +724
Branches 3893 3904 +11
======================================================================================================
+ Hits 48214 48936 +722
+ Misses 23485 23483 -2
- Partials 548 552 +4
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: Adds terminator-edge backend transition planning to the HashQL MIR execution planner.
🤖 Was this summary useful? React with 👍 or 👎 |
Merging this PR will not alter performance
Comparing Footnotes
|

🌟 What is the purpose of this PR?
Adds terminator placement analysis to the MIR execution planning pipeline. This complements statement placement by analyzing control flow edges rather than individual statements, determining which backend transitions are valid at each edge and their associated transfer costs.
🔍 What does this change?
Pre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
📜 Does this require a change to the docs?
🕸️ Does this require a change to the Turbo Graph?
🛡 What tests cover this?
New unit tests in terminator_placement/tests.rs covering loops, self-loops, SwitchInt, GraphRead, and Postgres restrictions
Snapshot test for terminator placement output
❓ How to test this?
cargo nextest run --package hashql-mir terminator_placement