summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/bx_fold.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/bx_fold.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/bx_fold.ll')
-rw-r--r--test/CodeGen/ARM/bx_fold.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/bx_fold.ll b/test/CodeGen/ARM/bx_fold.ll
index 0e3e070a81..09f1aae0a9 100644
--- a/test/CodeGen/ARM/bx_fold.ll
+++ b/test/CodeGen/ARM/bx_fold.ll
@@ -1,5 +1,4 @@
-; RUN: llc < %s -march=arm
-; RUN: llc < %s -march=arm | not grep bx
+; RUN: llc < %s -mtriple=armv5t-apple-darwin | FileCheck %s
define void @test(i32 %Ptr, i8* %L) {
entry:
@@ -24,6 +23,8 @@ bb1: ; preds = %bb, %entry
br i1 %bothcond, label %bb, label %bb18
bb18: ; preds = %bb1
+; CHECK-NOT: bx
+; CHECK: ldmia sp!
ret void
}