[LLVMdev] about AnalysisUsage

Sameer D. Sahasrabuddhe sameerds at it.iitb.ac.in
Fri Apr 29 01:16:00 PDT 2005


Just noticed that quite a few passes like LoopSimplify are implemented
in a single .cpp file ... this makes it impossible to specify
LoopSimplify using the "addRequired" method. Was there any particular
reason to do it this way? I wouldn't mind doing the splitting myself,
though I am not using the CVS versions right now.

Also, it would be nice to have support for some sort of a
"addPreservedTransitive" method ... so that when a pass uses
"setPreservesCFG", other passes such as dominator analysis will be
automatically preserved too ...

Sameer.
-- 
Research Scholar, KReSIT, IIT Bombay
http://www.it.iitb.ac.in/~sameerds/




More information about the llvm-dev mailing list