summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/branch.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2019-04-17 02:12:23 +0000
committerEric Christopher <echristo@gmail.com>2019-04-17 02:12:23 +0000
commita86343512845c9c1fdbac865fea88aa5fce7142a (patch)
tree666fc6353de19ad8b00e56b67edd33f24104e4a7 /llvm/test/Transforms/InstCombine/branch.ll
parent7f8ca6e3679b3af951cb7a4b1377edfaa3244b93 (diff)
downloadbcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.tar.gz
bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.zip
Temporarily Revert "Add basic loop fusion pass."
As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
Diffstat (limited to 'llvm/test/Transforms/InstCombine/branch.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/branch.ll27
1 files changed, 0 insertions, 27 deletions
diff --git a/llvm/test/Transforms/InstCombine/branch.ll b/llvm/test/Transforms/InstCombine/branch.ll
deleted file mode 100644
index 2168c9fd9a1..00000000000
--- a/llvm/test/Transforms/InstCombine/branch.ll
+++ /dev/null
@@ -1,27 +0,0 @@
-; Check that we fold the condition of branches of the
-; form: br <condition> dest1, dest2, where dest1 == dest2.
-; RUN: opt -instcombine -S < %s | FileCheck %s
-
-define i32 @test(i32 %x) {
-; CHECK-LABEL: @test
-entry:
-; CHECK-NOT: icmp
-; CHECK: br i1 false
- %cmp = icmp ult i32 %x, 7
- br i1 %cmp, label %merge, label %merge
-merge:
-; CHECK-LABEL: merge:
-; CHECK: ret i32 %x
- ret i32 %x
-}
-
-@global = global i8 0
-
-define i32 @pat(i32 %x) {
-; CHECK-NOT: icmp false
-; CHECK: br i1 false
- %y = icmp eq i32 27, ptrtoint(i8* @global to i32)
- br i1 %y, label %patatino, label %patatino
-patatino:
- ret i32 %x
-}
OpenPOWER on IntegriCloud