Author: Zibi Sarbinowski
Date: 2026-06-10T14:52:48-04:00
New Revision: 79aaf537bda3cefbd778dc92b533bbf6e8e5d435

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

LOG: [SystemZ][NFC] Sync downstream zos-abi.c test changes (#202437)

Syncs downstream changes to SystemZ zos-abi.c test:

1. Add test for char type parameter passing with sign extension
2. Rename pass_complexlike_float2 to pass_complexlike_float for
consistency

NFC - test-only changes.

Added: 
    

Modified: 
    clang/test/CodeGen/SystemZ/zos-abi.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/SystemZ/zos-abi.c 
b/clang/test/CodeGen/SystemZ/zos-abi.c
index ac1d7b31328b6..d7843d9bee089 100644
--- a/clang/test/CodeGen/SystemZ/zos-abi.c
+++ b/clang/test/CodeGen/SystemZ/zos-abi.c
@@ -21,6 +21,9 @@
 
 // Scalar types
 
+char pass_char(char arg) { return arg; }
+// CHECK-LABEL: define signext i8 @pass_char(i8 signext %{{.*}})
+
 signed char pass_schar(signed char arg) { return arg; }
 // CHECK-LABEL: define signext i8 @pass_schar(i8 signext %{{.*}})
 
@@ -74,8 +77,8 @@ _Complex long double pass_complex_longdouble(_Complex long 
double arg) { return
 
 // Verify that the following are complex-like types
 struct complexlike_float { float re, im; };
-struct complexlike_float pass_complexlike_float2(struct complexlike_float arg) 
{ return arg; }
-// CHECK-LABEL: define %struct.complexlike_float @pass_complexlike_float2({ 
float, float } %{{.*}})
+struct complexlike_float pass_complexlike_float(struct complexlike_float arg) 
{ return arg; }
+// CHECK-LABEL: define %struct.complexlike_float @pass_complexlike_float({ 
float, float } %{{.*}})
 
 struct complexlike_double { double re, im; };
 struct complexlike_double pass_complexlike_double(struct complexlike_double 
arg) { return arg; }


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to