Skip to content

Simplify the Utils module (register allocation) #3836

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 3 commits into from
Apr 11, 2025
Merged

Simplify the Utils module (register allocation) #3836

merged 3 commits into from
Apr 11, 2025

Conversation

xclerc
Copy link
Contributor

@xclerc xclerc commented Apr 10, 2025

This pull request simplifies the Utils
module used in register allocation by
tweaking the rewrite_gen function.
Instead of storing whether a register
is spilled or not, the function now uses
the passed spilled_nodes parameter.

@xclerc xclerc added the backend label Apr 10, 2025
@xclerc xclerc changed the base branch from main to reg-remove-fields April 10, 2025 14:08
@xclerc xclerc changed the title IRC spilled Simplify the Utils module (register allocation) Apr 10, 2025
@xclerc xclerc marked this pull request as ready for review April 10, 2025 16:51
Copy link
Contributor

@gretay-js gretay-js left a comment

Choose a reason for hiding this comment

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

looks good to me.

Base automatically changed from reg-remove-fields to main April 11, 2025 13:35
@xclerc xclerc merged commit afcaa97 into main Apr 11, 2025
26 checks passed
@xclerc xclerc deleted the irc-spilled branch April 11, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants