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

Eli Friedman eli.friedman at gmail.com
Thu Jun 17 23:09:48 PDT 2010


On Thu, Jun 17, 2010 at 11:07 PM, Duncan Sands <baldrick at free.fr> wrote:
> 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?

indirectbr leads to unsplittable edges.

-Eli



More information about the llvm-commits mailing list