Explicitly pass -tailcallopt=false to these tests so that they
authorDan Gohman <gohman@apple.com>
Thu, 23 Apr 2009 19:39:41 +0000 (19:39 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 23 Apr 2009 19:39:41 +0000 (19:39 +0000)
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
test/CodeGen/X86/fastcc-byval.ll
test/CodeGen/X86/fastcc-sret.ll

index 7b83ecbc5c407a0943dc8e9bd53cfa24e5139f28..4539ef623de577fab196554811ea53b9d2a6ccb0 100644 (file)
@@ -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" }
index 9f6649c3b1a3e1f74ada6ea6e79127dd1528d378..94da50584c7b6bde5c22beebfeec0f5673d0983c 100644 (file)
@@ -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
 
index b5338d741ffd956b40849d02be5e2e3b2de3808c..7fc111bbc299793c35adec757ff75f8c3ecf08da 100644 (file)
@@ -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] }