From e41bc94bb109e7f4bc1562a41d2d9ae7e97bc734 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 23 Apr 2009 19:39:41 +0000 Subject: [PATCH] Explicitly pass -tailcallopt=false to these tests so that they work as intended no matter what the default setting of that option is. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69911 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/critical-edge-split.ll | 2 +- test/CodeGen/X86/fastcc-byval.ll | 2 +- test/CodeGen/X86/fastcc-sret.ll | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/X86/critical-edge-split.ll b/test/CodeGen/X86/critical-edge-split.ll index 7b83ecbc5c4..4539ef623de 100644 --- a/test/CodeGen/X86/critical-edge-split.ll +++ b/test/CodeGen/X86/critical-edge-split.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -stats -info-output-file - | grep asm-printer | grep 31 +; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -tailcallopt=false -stats -info-output-file - | grep asm-printer | grep 31 %CC = type { %Register } %II = type { %"struct.XX::II::$_74" } diff --git a/test/CodeGen/X86/fastcc-byval.ll b/test/CodeGen/X86/fastcc-byval.ll index 9f6649c3b1a..94da50584c7 100644 --- a/test/CodeGen/X86/fastcc-byval.ll +++ b/test/CodeGen/X86/fastcc-byval.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc | grep {movl\[\[:space:\]\]*8(%esp), %eax} | count 2 +; RUN: llvm-as < %s | llc -tailcallopt=false | grep {movl\[\[:space:\]\]*8(%esp), %eax} | count 2 ; PR3122 ; rdar://6400815 diff --git a/test/CodeGen/X86/fastcc-sret.ll b/test/CodeGen/X86/fastcc-sret.ll index b5338d741ff..7fc111bbc29 100644 --- a/test/CodeGen/X86/fastcc-sret.ll +++ b/test/CodeGen/X86/fastcc-sret.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=x86 | grep ret | not grep 4 +; RUN: llvm-as < %s | llc -march=x86 -tailcallopt=false | grep ret | not grep 4 %struct.foo = type { [4 x i32] }