[LLVMdev] LoopPass Question

Devang Patel dpatel at apple.com
Tue Aug 19 14:38:05 PDT 2008


On Aug 19, 2008, at 1:51 PM, David Greene wrote:

> runOnLoop computes some information about basic blocks.  I would like
> to reuse that information in later runOnLoop invocations.

PassA::runOnLoop() is executed only once for each loop.

> Is the loop pass
> created and destroyed for each invocation?


Nope.
-
Devang




More information about the llvm-dev mailing list