summaryrefslogtreecommitdiffstats
path: root/llvm/test
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
commit2f27456c826a9266f8f3e9cefafd1f7e08ab51b1 (patch)
tree902ee13345ac35d424b945d1972b1eff339ec452 /llvm/test
parent306d29977d4fb5b7e08880bf67109d656c711a12 (diff)
downloadbcm5719-llvm-2f27456c826a9266f8f3e9cefafd1f7e08ab51b1.tar.gz
bcm5719-llvm-2f27456c826a9266f8f3e9cefafd1f7e08ab51b1.zip
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 llvm-svn: 316129
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Analysis/ScalarEvolution/pr34538.ll19
1 files changed, 0 insertions, 19 deletions
diff --git a/llvm/test/Analysis/ScalarEvolution/pr34538.ll b/llvm/test/Analysis/ScalarEvolution/pr34538.ll
deleted file mode 100644
index 0aa72c36de4..00000000000
--- a/llvm/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
-}
OpenPOWER on IntegriCloud