[llvm] e7a1c2a - X86: Upgrade a test to not rely on byval pointee type

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 12:10:20 PDT 2020


Author: Matt Arsenault
Date: 2020-06-29T14:45:38-04:00
New Revision: e7a1c2a4959a8543364d9d46b32351ef45a84e18

URL: https://github.com/llvm/llvm-project/commit/e7a1c2a4959a8543364d9d46b32351ef45a84e18
DIFF: https://github.com/llvm/llvm-project/commit/e7a1c2a4959a8543364d9d46b32351ef45a84e18.diff

LOG: X86: Upgrade a test to not rely on byval pointee type

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/byval-callee-cleanup.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/byval-callee-cleanup.ll b/llvm/test/CodeGen/X86/byval-callee-cleanup.ll
index 8e059d433446..73e355edf42b 100644
--- a/llvm/test/CodeGen/X86/byval-callee-cleanup.ll
+++ b/llvm/test/CodeGen/X86/byval-callee-cleanup.ll
@@ -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 at 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 at 16:


        


More information about the llvm-commits mailing list