PR8921: LDM/POP do not support interworking prior to v5t.
[oota-llvm.git] / test / CodeGen / ARM / fast-isel.ll
index c691cbefdb4deb52a4be15d8aada56c60c16deba..dd806ec6f1aee1f4c9889e6fff6ef8fda236e117 100644 (file)
@@ -1,8 +1,9 @@
-; RUN: llc < %s -fast-isel -fast-isel-abort -march=arm
+; RUN: llc < %s -O0 -fast-isel-abort -mtriple=armv7-apple-darwin
+; RUN: llc < %s -O0 -fast-isel-abort -mtriple=thumbv7-apple-darwin
 
 ; Very basic fast-isel functionality.
 
-define i32 @add(i32 %a, i32 %b) nounwind ssp {
+define i32 @add(i32 %a, i32 %b) nounwind {
 entry:
   %a.addr = alloca i32, align 4
   %b.addr = alloca i32, align 4
@@ -12,4 +13,4 @@ entry:
   %tmp1 = load i32* %b.addr
   %add = add nsw i32 %tmp, %tmp1
   ret i32 %add
-}
+}
\ No newline at end of file