[llvm-dev] What is the "correct" way to add a print pass in the NPM ?
Stefanos Baziotis via llvm-dev
llvm-dev at lists.llvm.org
Fri Jul 31 06:44:52 PDT 2020
Hi,
I'm interested in the sort of pass where you write
`-passes=print<pass-name>` and it calls the `print()` function of the pass.
I have seen some other passes that can invoke `-passes=print<>` but the
implementation
seems to be in the wrapper pass for the old pass manager.
Thanks,
Stefanos Baziotis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200731/8387a5bd/attachment.html>
More information about the llvm-dev
mailing list