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

pulley: Remove special registers as candidates from regalloc #9666

Merged

Conversation

alexcrichton
Copy link
Member

This commit fixes a minor mistake where regalloc was allowed to allocate "special registers" such as the stack pointer, the frame pointer, etc. These register shouldn't participate in general-purpose register allocation, so they're removed from the list of non-preferred registers when metadata is provided to regalloc2.

This commit fixes a minor mistake where regalloc was allowed to allocate
"special registers" such as the stack pointer, the frame pointer, etc.
These register shouldn't participate in general-purpose register
allocation, so they're removed from the list of non-preferred registers
when metadata is provided to regalloc2.
@alexcrichton alexcrichton requested review from a team as code owners November 22, 2024 22:54
@alexcrichton alexcrichton requested review from cfallin and removed request for a team November 22, 2024 22:54
Copy link
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@alexcrichton alexcrichton added this pull request to the merge queue Nov 22, 2024
Merged via the queue into bytecodealliance:main with commit 6767488 Nov 22, 2024
39 checks passed
@alexcrichton alexcrichton deleted the remove-some-registers branch November 22, 2024 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants