Skip to content

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

Closed

Description

@aeubanks

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

Activity

  1. boomanaiden154 commented on Jun 25, 2026

    @boomanaiden154
    Contributor

    This has been done for a while.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions