[LLVMdev] Passes calling

Hanbing Li hanbing.li at inria.fr
Thu Jun 12 08:45:56 PDT 2014


Hi, 

I know when a pass needs other passes, it will use something like this: "AU.addRequired<LoopInfo>();". But this is usually used for the analysis passes. 
When a pass needs another transform pass, can it call it automatically? 
For example: 
Some loop optimizations may need loop-simplify, I need add -loop-simplify before calling these passes manually, or they can call the pass -loop-simplify automatically? 


Thank you 
Regards, 

Hanbing LI 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140612/de8b43cf/attachment.html>


More information about the llvm-dev mailing list