FileCheck'ize test, and add a bit to test for r157221.
[oota-llvm.git] / test / CodeGen / Thumb2 / 2010-11-22-EpilogueBug.ll
index 313728c1b56abdcbda80976e7c95e71de90a39b7..5cb266b11b0c7284ecabcdc3373268f97891589d 100644 (file)
@@ -1,5 +1,5 @@
 ; rdar://8465407
-; RUN: llc < %s -mtriple=thumbv7-apple-darwin | FileCheck %s
+; RUN: llc < %s -mtriple=thumbv7-apple-ios | FileCheck %s
 
 %struct.buf = type opaque
 
@@ -8,7 +8,7 @@ declare void @bar() nounwind optsize
 define void @foo() nounwind optsize {
 ; CHECK: foo:
 ; CHECK: push
-; CHECK: add r7, sp, #4
+; CHECK: mov r7, sp
 ; CHECK: sub sp, #4
 entry:
   %m.i = alloca %struct.buf*, align 4