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) ?...@@ -7154,8 +7154,7 @@ pub fn ccAbiPromoteInt(cc: std.builtin.CallingConvention, zcu: *Zcu, ty: Type) ?
7154 .mips64el,7154 .mips64el,
7155 => switch (int_info.bits) {7155 => switch (int_info.bits) {
7156 8, 16, 64 => int_info.signedness,7156 8, 16, 64 => int_info.signedness,
7157 // https://github.com/llvm/llvm-project/issues/1790887157 32 => .signed,
7158 // 32 => .signed,
7159 else => null,7158 else => null,
7160 },7159 },
71617160