[llvm-commits] [llvm] r106267 - in /llvm/trunk: lib/Transforms/Scalar/IndVarSimplify.cpp test/Transforms/IndVarSimplify/indirectbr.ll

Duncan Sands baldrick at free.fr
Thu Jun 17 23:07:13 PDT 2010


Hi Dan, thanks for fixing this.

> Disable indvars on loops when LoopSimplify form is not available.
> This fixes PR7333.

This raises the question of why the loop wasn't in loop-simplify form.
The original infinite loop occurred when running the standard set of
optimization passes, so shouldn't all loops be in loop-simplify form
by the time they hit indvars?

Ciao,

Duncan.



More information about the llvm-commits mailing list