[llvm-dev] [NPM] Register target specific pass with opt
Ankit Aggarwal via llvm-dev
llvm-dev at lists.llvm.org
Thu Sep 17 12:14:44 PDT 2020
Hello LLVM community,
I was trying to port a target specific loop transformation pass (HexagonVectorLoopCarriedReusePass) to the New Pass Manager. However, I could not figure out a way to register this pass with opt. I can see that llvm/lib/Passes/PassRegistry.def is the registry for target independent passes. Can anyone point me to an example/API which can help me in registering this pass so that I can use it -passes option in opt?
Thanks
Ankit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200917/edbc88e3/attachment.html>
More information about the llvm-dev
mailing list