Skip to content

Register external passes to Proteus #497

Description

@Dando18

Is there an easy way to register external passes in proteus?

The closest I've been able to do is reimplement runOptimizationPassPipeline and optimizeIR with a custom pass registered (and skip proteus::optimizeIR). Is there another way to do this?

If not, it would be nice to add a handle for registering passes. Something like below.

optimizeIR(Module, Arch, Config, [](PassBuilder &PB) {
    registerMyCustomPasses(PB);
});

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions