diff options
author | Quentin Colombet <qcolombet@apple.com> | 2013-06-07 21:09:42 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2013-06-07 21:09:42 +0000 |
commit | 2e10e8e378f3beb9d9bd55afa4ba6c13977f4e03 (patch) | |
tree | e02f9a1387172f63fe5bab921f7c0245eabc7fd7 /test | |
parent | e488b4ecdc6bf9a4a2d53f9311827f92c9044db1 (diff) | |
download | external_llvm-2e10e8e378f3beb9d9bd55afa4ba6c13977f4e03.zip external_llvm-2e10e8e378f3beb9d9bd55afa4ba6c13977f4e03.tar.gz external_llvm-2e10e8e378f3beb9d9bd55afa4ba6c13977f4e03.tar.bz2 |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/warn-stack.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/X86/warn-stack.ll | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/warn-stack.ll b/test/CodeGen/ARM/warn-stack.ll index 4ddc846..9538bbf 100644 --- a/test/CodeGen/ARM/warn-stack.ll +++ b/test/CodeGen/ARM/warn-stack.ll @@ -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 diff --git a/test/CodeGen/X86/warn-stack.ll b/test/CodeGen/X86/warn-stack.ll index 0a6a506..6c5b0a4 100644 --- a/test/CodeGen/X86/warn-stack.ll +++ b/test/CodeGen/X86/warn-stack.ll @@ -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 |