summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/bx_fold.ll
diff options
context:
space:
mode:
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
}