summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyCFG/DeadSetCC.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/SimplifyCFG/DeadSetCC.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/SimplifyCFG/DeadSetCC.ll')
-rw-r--r--llvm/test/Transforms/SimplifyCFG/DeadSetCC.ll28
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/DeadSetCC.ll b/llvm/test/Transforms/SimplifyCFG/DeadSetCC.ll
deleted file mode 100644
index c62560000ca..00000000000
--- a/llvm/test/Transforms/SimplifyCFG/DeadSetCC.ll
+++ /dev/null
@@ -1,28 +0,0 @@
-; RUN: opt < %s -simplifycfg -S | \
-; RUN: not grep "icmp eq"
-
-; Check that simplifycfg deletes a dead 'seteq' instruction when it
-; folds a conditional branch into a switch instruction.
-
-declare void @foo()
-
-declare void @bar()
-
-define void @testcfg(i32 %V) {
- %C = icmp eq i32 %V, 18 ; <i1> [#uses=1]
- %D = icmp eq i32 %V, 180 ; <i1> [#uses=1]
- %E = or i1 %C, %D ; <i1> [#uses=1]
- br i1 %E, label %L1, label %Sw
-Sw: ; preds = %0
- switch i32 %V, label %L1 [
- i32 15, label %L2
- i32 16, label %L2
- ]
-L1: ; preds = %Sw, %0
- call void @foo( )
- ret void
-L2: ; preds = %Sw, %Sw
- call void @bar( )
- ret void
-}
-
OpenPOWER on IntegriCloud