Explicit triple in warn stack size test cases to not depend on OS.
authorQuentin Colombet <qcolombet@apple.com>
Fri, 7 Jun 2013 21:09:42 +0000 (21:09 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Fri, 7 Jun 2013 21:09:42 +0000 (21:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183574 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/warn-stack.ll
test/CodeGen/X86/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
index 0a6a506c7a60ded279822720a991cd783325c920..6c5b0a4a314c2445919fa39b783f9e44a992ea81 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march x86 -warn-stack-size=80 < %s 2>&1 >/dev/null | FileCheck %s
+; RUN: llc -mtriple x86_64-apple-10.8.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 (88) in warn.
 define void @warn() nounwind ssp {
 entry:
   %buffer = alloca [80 x i8], align 1