commit 669c06680192f49eb7021fcf6b1601355fa10b04 (tree)
parent 11fbf78cb317e9a7a8fe4c8412f87a13d9982e26
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Mon, 27 Apr 2026 07:08:25 +0200
llvm: fix sign extension of 32-bit integers in callconv(.c) on mips
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/codegen/llvm/FuncGen.zig b/src/codegen/llvm/FuncGen.zig
@@ -7154,8 +7154,7 @@ pub fn ccAbiPromoteInt(cc: std.builtin.CallingConvention, zcu: *Zcu, ty: Type) ?
.mips64el,
=> switch (int_info.bits) {
8, 16, 64 => int_info.signedness,
- // https://github.com/llvm/llvm-project/issues/179088
- // 32 => .signed,
+ 32 => .signed,
else => null,
},