| ... | @@ -12578,7 +12578,7 @@ fn ccAbiPromoteInt( | ... | @@ -12578,7 +12578,7 @@ fn ccAbiPromoteInt( |
| 12578 | else => null, | 12578 | else => null, |
| 12579 | }, | 12579 | }, |
| 12580 | else => switch (target.cpu.arch) { | 12580 | else => switch (target.cpu.arch) { |
| 12581 | .riscv64 => switch (int_info.bits) { | 12581 | .loongarch64, .riscv64 => switch (int_info.bits) { |
| 12582 | 0...16 => int_info.signedness, | 12582 | 0...16 => int_info.signedness, |
| 12583 | 32 => .signed, // LLVM always signextends 32 bit ints, unsure if bug. | 12583 | 32 => .signed, // LLVM always signextends 32 bit ints, unsure if bug. |
| 12584 | 17...31, 33...63 => int_info.signedness, | 12584 | 17...31, 33...63 => int_info.signedness, |