Explicit triple in warn stack size test cases to not depend on OS.
[oota-llvm.git] / test / CodeGen / ARM / warn-stack.ll
index 4ddc846dc7e2994392fce18ebd5211b3d2e3421a..9538bbf1048846be885baef1292aed0a05d7d69b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march arm -warn-stack-size=80 < %s 2>&1 >/dev/null | FileCheck %s
+; RUN: llc -mtriple thumbv7-apple-ios3.0.0 -warn-stack-size=80 < %s 2>&1 >/dev/null | FileCheck %s
 ; Check the internal option that warns when the stack size exceeds the
 ; given amount.
 ; <rdar://13987214>
@@ -12,7 +12,7 @@ entry:
   ret void
 }
 
-; CHECK: warning: Stack size limit exceeded (92) in warn.
+; CHECK: warning: Stack size limit exceeded (96) in warn.
 define void @warn() nounwind ssp {
 entry:
   %buffer = alloca [80 x i8], align 1