-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cranelift: Specialize uses of StackAMode::SPOffset (#8297)
When this variant is used within a specific target backend, we know exactly which address-mode to generate, so using the target independent `StackAMode` doesn't buy us anything. This PR ensures that `StackAMode` is only constructed by target independent code in machinst::abi, so that it's easier to figure out how each of the variants are used.
- Loading branch information
1 parent
700276b
commit 86dcae4
Showing
3 changed files
with
27 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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 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 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