[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:21:39 PDT 2010


>> 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?
>
> indirectbr leads to unsplittable edges.

Of course, silly of me to have missed that.  Thanks for pointing it out!

Ciao,

Duncan.



More information about the llvm-commits mailing list