-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Switch Cranelift over to regalloc2. #3989
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
df47799
Switch from regalloc.rs to regalloc2 dependency.
cfallin f6c5bd7
Remove regalloc algorithm setting (we now only have one option, regal…
cfallin 52d7f2c
Add Reg/VirtualReg/RealReg abstractions on top of regalloc2's types.
cfallin a985b41
Update core VCode and MachInst definitions, VCode implementation, and…
cfallin 519c12e
Remove `DeferredDisplay` (no longer needed with new disassembly strat…
cfallin ef2dff7
ABI-code changes for regalloc2.
cfallin 747edaf
Minor updates to ISLE rules and glue, and regeneration of ISLE genera…
cfallin c5c248c
aarch64 Inst-abstraction updates
cfallin 62a0cf2
s390x Inst-abstraction updates
cfallin b9a1f72
x64 Inst-abstraction updates
cfallin 44ac283
Unwind updates for regalloc2.
cfallin 4efc608
Test updates.
cfallin d4a5f0e
Add doc describing design changes for regalloc2 integration.
cfallin a983e7a
Merge latest `main` and resolve conflicts.
cfallin 1d5ea7b
Remove vreg aliases from disassembly: no vregs should appear anyway, …
cfallin 4bc1ad6
Update filetests.
cfallin 76993b3
Add serde support back to cranelift-codegen types, using regalloc2 0.…
cfallin a84b122
Hide the pinned-register indexing scheme a bit better, to guard again…
cfallin 05f5f4c
Implement `From` conversions for register types and use them.
cfallin ade240b
Use enum for VCode build direction.
cfallin 3dafbd3
Remove `MachInst::get_clobbers()` and implement `OperandCollector::re…
cfallin e09b71f
Rename `MachInst::type_for_rc()` to `canonical_type_for_rc()`.
cfallin 9aa5dda
Address remainder of code-review feedback.
cfallin d5fe840
Remove VCodeBuildDirection::Forward as it is dead code
cfallin 15aef15
fix typo, and remove integration doc
cfallin ac3863b
Fix some pretty-printing AllocationConsumer misalignments caught by n…
cfallin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.