Skip to content

Support PassInstrumentationCallbacks for Julia driven optimization pipelines #551

@vchuravy

Description

@vchuravy

I was trying to use --print-after-all and co to debug the Enzyme and noticed that we don't hook up the necessary infrastructure.

@gbaraldi I believe you figured this out for Julia base?

#if LLVM_VERSION_MAJOR >= 16
StandardInstrumentations SI(Mod->getContext(), Debug, VerifyEach);
#else
StandardInstrumentations SI(Debug, VerifyEach);
#endif

x-ref:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions