Explicit triple in warn stack size test cases to not depend on OS.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183574 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Quentin Colombet 2013-06-07 21:09:42 +00:00
parent e488b4ecdc
commit 2e10e8e378
2 changed files with 4 additions and 4 deletions

View 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

View 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