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:
I was trying to use
--print-after-alland 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?
LLVM.jl/deps/LLVMExtra/lib/NewPM.cpp
Lines 602 to 606 in 480a477
x-ref: