OSDN Git Service

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 7b83ecb..4539ef6 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 9f6649c..94da505 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 b5338d7..7fc111b 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] }