[llvm] r183574 - Explicit triple in warn stack size test cases to not depend on OS.

Quentin Colombet qcolombet at apple.com
Fri Jun 7 14:09:42 PDT 2013


Author: qcolombet
Date: Fri Jun  7 16:09:42 2013
New Revision: 183574

URL: http://llvm.org/viewvc/llvm-project?rev=183574&view=rev
Log:
Explicit triple in warn stack size test cases to not depend on OS.

Modified:
    llvm/trunk/test/CodeGen/ARM/warn-stack.ll
    llvm/trunk/test/CodeGen/X86/warn-stack.ll

Modified: llvm/trunk/test/CodeGen/ARM/warn-stack.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/warn-stack.ll?rev=183574&r1=183573&r2=183574&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/warn-stack.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/warn-stack.ll Fri Jun  7 16:09:42 2013
@@ -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

Modified: llvm/trunk/test/CodeGen/X86/warn-stack.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/warn-stack.ll?rev=183574&r1=183573&r2=183574&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/warn-stack.ll (original)
+++ llvm/trunk/test/CodeGen/X86/warn-stack.ll Fri Jun  7 16:09:42 2013
@@ -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





More information about the llvm-commits mailing list