[llvm-dev] About LLVM Pass dependency

Mahesh Attarde via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 3 02:00:37 PDT 2017


Hello
  I am working on pass which has dependency on multiple passes.  Say
D1,D2,D3
I used
INITIALIZE_PASS_BEGIN
INITIALIZE_PASS_DEPENDENCY(D1)
INITIALIZE_PASS_DEPENDENCY(D2)
INITIALIZE_PASS_DEPENDENCY(D3)
INITIALIZE_PASS_END.

While running it through opt tool it, I had to specify this D1,D2,D3 pass
names
to get this pass executed before my pass.
Is there way, to let llvm pass manager to know  execute all dependencies
without
having to specify explicitly.?

I suspect i am doing something wrong in my code, May be.

Thanks
Mahesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171003/31ddc6f5/attachment.html>


More information about the llvm-dev mailing list