aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-10-01 12:03:43 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-10-03 06:19:23 +0200
commitb4ddff396dbca75f9f7cb7a66dad617ae855196a (patch)
tree825f4c00c22d7492fb9d19496e4446d322b040cb /src/codegen
parent8ee52f99ceab6a05b931eeb48825c00fd26ac486 (diff)
downloadzig-b4ddff396dbca75f9f7cb7a66dad617ae855196a.tar.gz
zig-b4ddff396dbca75f9f7cb7a66dad617ae855196a.zip
llvm: Fix C ABI integer promotion for s390x.
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/llvm.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig
index 2cd1af783e..1f21516e9e 100644
--- a/src/codegen/llvm.zig
+++ b/src/codegen/llvm.zig
@@ -12241,6 +12241,7 @@ fn ccAbiPromoteInt(
.sparc64,
.powerpc64,
.powerpc64le,
+ .s390x,
=> switch (int_info.bits) {
0...63 => int_info.signedness,
else => null,