[LLVMdev] LoopInfo

David Greene dag at cray.com
Tue Aug 19 15:05:50 PDT 2008


Some of the LoopInfo APIs are preceeded by this comment:

  // Note that all of these methods can fail on general loops (ie, there may 
not
  // be a preheader, etc).  For best success, the loop simplification and
  // induction variable canonicalization pass should be used to normalize 
loops
  // for easy analysis.  These methods assume canonical loops.

What Pass would that be?  IndVarSimplify?

                                                     -Dave



More information about the llvm-dev mailing list