An imminent fix to the x86_64 byval logic will expose a flaw in the
authorStuart Hastings <stuart@apple.com>
Wed, 18 May 2011 19:19:17 +0000 (19:19 +0000)
committerStuart Hastings <stuart@apple.com>
Wed, 18 May 2011 19:19:17 +0000 (19:19 +0000)
x86_64 sibcall logic.  I've filed PR9943 for the sibcall problem, and
this patch alters the testcase to work around the flaw.  When PR9943
is fixed, this patch should be reverted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131557 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/sibcall.ll

index 549a3cfb11467493b3033ee2ca3b1e9877ac39f4..4a98efb4d45e168ec78e152e9ceff2ca968605af 100644 (file)
@@ -198,7 +198,7 @@ declare i32 @foo6(i32, i32, %struct.t* byval align 4)
 
 ; rdar://r7717598
 %struct.ns = type { i32, i32 }
-%struct.cp = type { float, float }
+%struct.cp = type { float, float, float, float, float }
 
 define %struct.ns* @t13(%struct.cp* %yy) nounwind ssp {
 ; 32: t13: