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

[Codegen/NewPM] Add Function -> MachineFunction adaptor #84397

Open
aeubanks opened this issue Mar 7, 2024 · 0 comments
Open

[Codegen/NewPM] Add Function -> MachineFunction adaptor #84397

aeubanks opened this issue Mar 7, 2024 · 0 comments

Comments

@aeubanks
Copy link
Contributor

aeubanks commented Mar 7, 2024

The codegen pipeline should work on a function and its corresponding machine function before moving onto the next function. This is only possible with a function -> machine function adaptor, which we don't currently have (see TODO here)

To get the machine function for a given function in a function pass (the adaptor), we'll need the function analysis manager to handle machine functions, as opposed to a module analysis handling it. That's basically this discourse discussion

@paperchalice @arsenm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant