summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/ifcvt6.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-01-06 19:24:41 +0000
committerBob Wilson <bob.wilson@apple.com>2011-01-06 19:24:41 +0000
commit6819dbb6f86f519130edf22ac3a30fa53b01fa45 (patch)
treeec2d6212006427c582ecd7aecc250b0d7426ed66 /test/CodeGen/ARM/ifcvt6.ll
parent28f1015e3665cae34fc8337ec8e03ad903d30a33 (diff)
downloadllvm-6819dbb6f86f519130edf22ac3a30fa53b01fa45.tar.gz
llvm-6819dbb6f86f519130edf22ac3a30fa53b01fa45.tar.bz2
llvm-6819dbb6f86f519130edf22ac3a30fa53b01fa45.tar.xz
PR8921: LDM/POP do not support interworking prior to v5t.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122970 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/ifcvt6.ll')
-rw-r--r--test/CodeGen/ARM/ifcvt6.ll7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/ifcvt6.ll b/test/CodeGen/ARM/ifcvt6.ll
index e2c0ba398c..5edf32fd1a 100644
--- a/test/CodeGen/ARM/ifcvt6.ll
+++ b/test/CodeGen/ARM/ifcvt6.ll
@@ -1,10 +1,9 @@
-; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
-; RUN: grep cmpne | count 1
-; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
-; RUN: grep ldmiahi | count 1
+; RUN: llc < %s -mtriple=armv7-apple-darwin | FileCheck %s
define void @foo(i32 %X, i32 %Y) {
entry:
+; CHECK: cmpne
+; CHECK: ldmiahi sp!
%tmp1 = icmp ult i32 %X, 4 ; <i1> [#uses=1]
%tmp4 = icmp eq i32 %Y, 0 ; <i1> [#uses=1]
%tmp7 = or i1 %tmp4, %tmp1 ; <i1> [#uses=1]