summaryrefslogtreecommitdiff
path: root/test/Analysis
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2017-10-18 22:00:57 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2017-10-18 22:00:57 +0000
commitb5cb868aaa03172b5f83ce48b574bdcad6377b7c (patch)
treefd4a69e35952abfe829e45974f3f61e817808cfe /test/Analysis
parente77c212f96eba6e0052d079723b842898eb41963 (diff)
Revert "[ScalarEvolution] Handling for ICmp occuring in the evolution chain."
This reverts commit r316054. There was some confusion over the review process: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20171016/495884.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r--test/Analysis/ScalarEvolution/pr34538.ll19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/Analysis/ScalarEvolution/pr34538.ll b/test/Analysis/ScalarEvolution/pr34538.ll
deleted file mode 100644
index 0aa72c36de4..00000000000
--- a/test/Analysis/ScalarEvolution/pr34538.ll
+++ /dev/null
@@ -1,19 +0,0 @@
-; RUN: opt -S -scalar-evolution -loop-deletion -simplifycfg -analyze < %s | FileCheck %s --check-prefix=CHECK-ANALYSIS
-
-define i32 @foo() local_unnamed_addr #0 {
-; CHECK-ANALYSIS: Loop %do.body: backedge-taken count is 10000
-; CHECK-ANALYSIS: Loop %do.body: max backedge-taken count is 10000
-; CHECK-ANALYSIS: Loop %do.body: Predicated backedge-taken count is 10000
-entry:
- br label %do.body
-
-do.body: ; preds = %do.body, %entry
- %start.0 = phi i32 [ 0, %entry ], [ %inc.start.0, %do.body ]
- %cmp = icmp slt i32 %start.0, 10000
- %inc = zext i1 %cmp to i32
- %inc.start.0 = add nsw i32 %start.0, %inc
- br i1 %cmp, label %do.body, label %do.end
-
-do.end: ; preds = %do.body
- ret i32 0
-}