Skip to content
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

cranelift: Specialize uses of StackAMode::SPOffset #8297

Merged
merged 1 commit into from Apr 4, 2024

Conversation

jameysharp
Copy link
Contributor

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.

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.
@jameysharp jameysharp requested a review from a team as a code owner April 3, 2024 20:07
@jameysharp jameysharp requested review from fitzgen and removed request for a team April 3, 2024 20:07
@github-actions github-actions bot added cranelift Issues related to the Cranelift code generator cranelift:area:aarch64 Issues related to AArch64 backend. cranelift:area:x64 Issues related to x64 codegen labels Apr 3, 2024
@fitzgen fitzgen added this pull request to the merge queue Apr 4, 2024
Merged via the queue into bytecodealliance:main with commit 86dcae4 Apr 4, 2024
23 checks passed
@jameysharp jameysharp deleted the specialize-spoffset branch April 4, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift:area:aarch64 Issues related to AArch64 backend. cranelift:area:x64 Issues related to x64 codegen cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants