-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Convert MIR BasicBlocks to ExtendedBasicBlocks #40700
Conversation
r? @eddyb |
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
☔ The latest upstream changes (presumably #40693) made this pull request unmergeable. Please resolve the merge conflicts. |
a2e1ba1
to
04f9393
Compare
☔ The latest upstream changes (presumably #40806) made this pull request unmergeable. Please resolve the merge conflicts. |
1106eff
to
1448131
Compare
This introduces no functional changes, but is in preparation for adding extended basic blocks to MIR.
* Updates Drop, Assert, and Call TerminatorKinds to do this. * Changes various code in these terminators to have more uniform completions and replaced non-end-of-block llblock and funclet_br with the code that they'd execute.
This removes the unreachable_block cache, since we no longer utilize it.
1448131
to
49b486b
Compare
a383adc
to
ff12d78
Compare
This reverts commit 8cee04a. It turns out that DropElaboration may need the CallGuards pass, even if trans doesn't.
☔ The latest upstream changes (presumably #40597) made this pull request unmergeable. Please resolve the merge conflicts. |
3f23d75
to
15d5bde
Compare
I'm going to close this out for now since it's relatively blocked on me finding a good chunk of time to work on uninterrupted, but if anyone wants to steal my branch, feel free. |
Still a work in progress, will write up more detailed summary later, but see #39685.