aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/CondProp/phisimplify3.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-11 05:25:16 +0000
committerChris Lattner <sabre@nondot.org>2009-11-11 05:25:16 +0000
commitf1e9cf5020df4bf93c4f559842da824d69b64d22 (patch)
treeecc1f5c1e0bc70621c333059f1fe1596adb48406 /test/Transforms/CondProp/phisimplify3.ll
parenta8333d3d107df1e0b6bde986ed0532915e154b65 (diff)
remove condprop testcases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86804 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/CondProp/phisimplify3.ll')
-rw-r--r--test/Transforms/CondProp/phisimplify3.ll26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/Transforms/CondProp/phisimplify3.ll b/test/Transforms/CondProp/phisimplify3.ll
deleted file mode 100644
index 6166efb110..0000000000
--- a/test/Transforms/CondProp/phisimplify3.ll
+++ /dev/null
@@ -1,26 +0,0 @@
-; RUN: opt < %s -condprop -S | not grep phi
-
-define i32 @foo(i1, i32, i32) {
-prologue:
- br i1 %0, label %eq, label %ne
-
-eq: ; preds = %prologue
- store i32 0, i32* inttoptr (i32 10000 to i32*)
- %3 = icmp eq i32 %1, %2 ; <i1> [#uses=1]
- br label %join
-
-ne: ; preds = %prologue
- %4 = icmp ne i32 %1, %2 ; <i1> [#uses=1]
- br label %join
-
-join: ; preds = %ne, %eq
- %5 = phi i1 [ %3, %eq ], [ %4, %ne ] ; <i1> [#uses=1]
- br i1 %5, label %yes, label %no
-
-yes: ; preds = %join
- store i32 0, i32* inttoptr (i32 20000 to i32*)
- ret i32 5
-
-no: ; preds = %join
- ret i32 20
-}