Skip to content

Add back support for optimizing a single function #435

@wsmoses

Description

@wsmoses

Since the NewPM api's were changed, there is no longer a way to run function passes in the new PM.

This is breaking Enzyme's ability to work in 1.11 at the moment.

I started working around this here: EnzymeAD/Enzyme.jl#1699

but now finally I'm hitting a lack of NewPM related functions which were stripped out of LibLLVMExtra

deps/LLVMExtra/include/NewPM.h:LLVMModuleAnalysisManagerRef LLVMCreateNewPMModuleAnalysisManager(void);
deps/LLVMExtra/lib/NewPM.cpp:LLVMModuleAnalysisManagerRef LLVMCreateNewPMModuleAnalysisManager(void) {

Can this functionality [at least in jll] be restored?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions