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

Remove spilling code from bir_passes when supported in constraint model #143

Open
ccasin opened this issue Jan 6, 2022 · 0 comments
Open

Comments

@ccasin
Copy link
Collaborator

ccasin commented Jan 6, 2022

bir_passes.ml has a function spill_hvars_and_adjust_stack that handles spilling for register-allocated variables that we know about because the user specified them. But really we need a more general notion of spilling that happens after register allocation and considers any live variable in a caller-saved register, not just the ones the user told us about. Once that's in the minizinc model (issue #16), remove spilling from bir_passes.

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

No branches or pull requests

1 participant