X86: Upgrade a test to not rely on byval pointee type
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 26 Jun 2020 19:18:30 +0000 (15:18 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 29 Jun 2020 18:45:38 +0000 (14:45 -0400)
llvm/test/CodeGen/X86/byval-callee-cleanup.ll

index 8e059d4..73e355e 100644 (file)
@@ -8,19 +8,19 @@
 
 %struct.Six = type { [6 x i8] }
 
-define x86_stdcallcc void @f(%struct.Six* byval %a) {
+define x86_stdcallcc void @f(%struct.Six* byval(%struct.Six) %a) {
   ret void
 }
 ; CHECK-LABEL: _f@8:
 ; CHECK: retl $8
 
-define x86_thiscallcc void @g(i8* %this, %struct.Six* byval %a) {
+define x86_thiscallcc void @g(i8* %this, %struct.Six* byval(%struct.Six) %a) {
   ret void
 }
 ; CHECK-LABEL: _g:
 ; CHECK: retl $8
 
-define x86_fastcallcc void @h(i32 inreg %x, i32 inreg %y, %struct.Six* byval %a) {
+define x86_fastcallcc void @h(i32 inreg %x, i32 inreg %y, %struct.Six* byval(%struct.Six) %a) {
   ret void
 }
 ; CHECK-LABEL: @h@16: