From 2e10e8e378f3beb9d9bd55afa4ba6c13977f4e03 Mon Sep 17 00:00:00 2001 From: Quentin Colombet Date: Fri, 7 Jun 2013 21:09:42 +0000 Subject: [PATCH] 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 --- test/CodeGen/ARM/warn-stack.ll | 4 ++-- 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 4ddc846dc7e..9538bbf1048 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. ; @@ -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 0a6a506c7a6..6c5b0a4a314 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. ; @@ -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