summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/ifcvt7.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/ifcvt7.ll
parent28f1015e3665cae34fc8337ec8e03ad903d30a33 (diff)
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/ifcvt7.ll')
-rw-r--r--test/CodeGen/ARM/ifcvt7.ll10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/CodeGen/ARM/ifcvt7.ll b/test/CodeGen/ARM/ifcvt7.ll
index eb97085ac00..62e13557cfd 100644
--- a/test/CodeGen/ARM/ifcvt7.ll
+++ b/test/CodeGen/ARM/ifcvt7.ll
@@ -1,14 +1,12 @@
-; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
-; RUN: grep cmpeq | count 1
-; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
-; RUN: grep moveq | count 1
-; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
-; RUN: grep ldmiaeq | count 1
+; RUN: llc < %s -mtriple=armv7-apple-darwin | FileCheck %s
; FIXME: Need post-ifcvt branch folding to get rid of the extra br at end of BB1.
%struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }
define fastcc i32 @CountTree(%struct.quad_struct* %tree) {
+; CHECK: cmpeq
+; CHECK: moveq
+; CHECK: ldmiaeq sp!
entry:
br label %tailrecurse