summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/ScalarEvolution
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-09-06 02:43:13 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-09-06 02:43:13 +0000
commitb1438c763af3bc35fe1f6524b7d8f03efa3e0ffc (patch)
treec1077b078b4d83d7b4a9ccd54fa51d2c8c5fa23d /llvm/test/Analysis/ScalarEvolution
parent2e8201422d73cea1597fcd6d52df510422428444 (diff)
downloadbcm5719-llvm-b1438c763af3bc35fe1f6524b7d8f03efa3e0ffc.tar.gz
bcm5719-llvm-b1438c763af3bc35fe1f6524b7d8f03efa3e0ffc.zip
Revert r139126 due to selfhost failures reported by buildbots.
llvm-svn: 139130
Diffstat (limited to 'llvm/test/Analysis/ScalarEvolution')
-rw-r--r--llvm/test/Analysis/ScalarEvolution/max-trip-count.ll31
1 files changed, 0 insertions, 31 deletions
diff --git a/llvm/test/Analysis/ScalarEvolution/max-trip-count.ll b/llvm/test/Analysis/ScalarEvolution/max-trip-count.ll
index 596423a4cdc..843fb073087 100644
--- a/llvm/test/Analysis/ScalarEvolution/max-trip-count.ll
+++ b/llvm/test/Analysis/ScalarEvolution/max-trip-count.ll
@@ -70,34 +70,3 @@ for.end: ; preds = %for.body, %for.cond
}
declare i32 @printf(i8*, ...)
-
-; Before -indvars ran on this loop, SCEV solved a max loop trip count of
-; 2^31-2. Afterwards, we can only solve 2^32-1.
-
-define void @test(i8* %a, i32 %n) nounwind {
-entry:
- %cmp1 = icmp sgt i32 %n, 0
- br i1 %cmp1, label %for.body.lr.ph, label %for.end
-
-for.body.lr.ph: ; preds = %entry
- %tmp = zext i32 %n to i64
- br label %for.body
-
-for.body: ; preds = %for.body, %for.body.lr.ph
- %indvar = phi i64 [ %indvar.next, %for.body ], [ 0, %for.body.lr.ph ]
- %arrayidx = getelementptr i8* %a, i64 %indvar
- store i8 0, i8* %arrayidx, align 1
- %indvar.next = add i64 %indvar, 1
- %exitcond = icmp ne i64 %indvar.next, %tmp
- br i1 %exitcond, label %for.body, label %for.cond.for.end_crit_edge
-
-for.cond.for.end_crit_edge: ; preds = %for.body
- br label %for.end
-
-for.end: ; preds = %for.cond.for.end_crit_edge, %entry
- ret void
-}
-
-; CHECK: Determining loop execution counts for: @test
-; CHECK-NEXT: backedge-taken count is
-; CHECK-NEXT: max backedge-taken count is -1
OpenPOWER on IntegriCloud