authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-04-27 07:08:25+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-04-27 09:42:08+02:00
log669c06680192f49eb7021fcf6b1601355fa10b04
tree2bd3d0677cda6a82e82ba69a48c75aae93b9a5cc
parent11fbf78cb317e9a7a8fe4c8412f87a13d9982e26

llvm: fix sign extension of 32-bit integers in callconv(.c) on mips


1 files changed, 1 insertions(+), 2 deletions(-)

src/codegen/llvm/FuncGen.zig+1-2
......@@ -7154,8 +7154,7 @@ pub fn ccAbiPromoteInt(cc: std.builtin.CallingConvention, zcu: *Zcu, ty: Type) ?
71547154 .mips64el,
71557155 => switch (int_info.bits) {
71567156 8, 16, 64 => int_info.signedness,
7157 // https://github.com/llvm/llvm-project/issues/179088
7158 // 32 => .signed,
7157 32 => .signed,
71597158 else => null,
71607159 },
71617160