search for: storemerge2

Displaying 1 result from an estimated 1 matches for "storemerge2".

Did you mean: storemerge
2012 Dec 10
3
[LLVMdev] [PATCH] Teaching ScalarEvolution to handle IV=add(zext(trunc(IV)), Step)
...ion handles induction variables of the form +; iv=add(and(iv,(2^n)-1), Accum) +; + +; CHECK: @foo_6 +; CHECK: %add = +; CHECK-NEXT: Exits: 64 +define i32 @foo_6() nounwind readnone { +entry: + br label %for.body + +for.body: ; preds = %entry, %for.body + %storemerge2 = phi i32 [ 0, %entry ], [ %inc, %for.body ] + %0 = phi i32 [ 0, %entry ], [ %add, %for.body ] + %conv = and i32 %0, 63 + %add = add nsw i32 %conv, 3 + %inc = add nsw i32 %storemerge2, 1 + %cmp = icmp slt i32 %inc, 8000 + br i1 %cmp, label %for.body, label %for.end + +for.end:...