Skip to content

Provide mechanism to save CFG before register allocation #4000

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 8 commits into from
May 15, 2025

Conversation

xclerc
Copy link
Contributor

@xclerc xclerc commented May 14, 2025

It is already possible to save the
CFG into a cmir file right before
before emission. This pull request
adds support for saving the CFG
right before register allocation.

This feature is not for end users,
but rather for register allocation
development. The pull request
adds tools/regalloc/regalloc.ml
that can be used to run register
allocation on a cmir file.

@xclerc xclerc merged commit f326b23 into main May 15, 2025
28 checks passed
@xclerc xclerc deleted the cfg-regalloc-cmir branch May 15, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants