Properly pseudo-ize the ARM LDMIA_RET instruction. This has the nice side-
[oota-llvm.git] / test / CodeGen / ARM / bx_fold.ll
index 437b3189141dc096271b155af0dc9c6f3c5b0628..5533038fb8280eb1a17352b9f85209f138c30c13 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | llc -march=arm
-; RUN: llvm-as < %s | llc -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: pop
        ret void
 }