[llvm-dev] registering passes at the beginning/end of opt passes (new pass manager)

Juneyoung Lee via llvm-dev llvm-dev at lists.llvm.org
Thu Dec 3 20:28:44 PST 2020


Hello all,

Can I register passes at the beginning/end of opt passes (new pass manager)?

I found that
registerPipelineStartEPCallback/registerOptimizerLastEPCallback work
successfully for clang, but they don't fire when opt -passes="" is used.

Thanks,
Juneyoung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201204/c89e4e48/attachment.html>


More information about the llvm-dev mailing list