aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/machine-cse-cmp.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-06-03 18:28:31 +0000
committerBob Wilson <bob.wilson@apple.com>2010-06-03 18:28:31 +0000
commit3844173f6e5c2d3e309d71d8980e25cca1b9305d (patch)
tree5931ba2f52a5605e6f15802c38c9fcb0e9b77390 /test/CodeGen/ARM/machine-cse-cmp.ll
parent662f738ec3f9f4c77052b5a593cb30c28069713e (diff)
Revert 105308.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/machine-cse-cmp.ll')
-rw-r--r--test/CodeGen/ARM/machine-cse-cmp.ll18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/CodeGen/ARM/machine-cse-cmp.ll b/test/CodeGen/ARM/machine-cse-cmp.ll
deleted file mode 100644
index c77402f3bc..0000000000
--- a/test/CodeGen/ARM/machine-cse-cmp.ll
+++ /dev/null
@@ -1,18 +0,0 @@
-; RUN: llc < %s -march=arm | FileCheck %s
-;rdar://8003725
-
-@G1 = external global i32
-@G2 = external global i32
-
-define i32 @f1(i32 %cond1, i32 %x1, i32 %x2, i32 %x3) {
-entry:
-; CHECK: cmp
-; CHECK: moveq
-; CHECK-NOT: cmp
-; CHECK: moveq
- %tmp1 = icmp eq i32 %cond1, 0
- %tmp2 = select i1 %tmp1, i32 %x1, i32 %x2
- %tmp3 = select i1 %tmp1, i32 %x2, i32 %x3
- %tmp4 = add i32 %tmp2, %tmp3
- ret i32 %tmp4
-}