# llvm: Fix C ABI integer promotion for loongarch64\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/76558f8c6b8361ab520ea77e4b4cd2bfc8f688ad)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 76558f8c6b8361ab520ea77e4b4cd2bfc8f688ad

Requested commit: 76558f8c6b8361ab520ea77e4b4cd2bfc8f688ad

Commit: 76558f8c6b8361ab520ea77e4b4cd2bfc8f688ad

Tree: d8731c7449e024527fd44a442e35477cd7d68aee

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
llvm: Fix C ABI integer promotion for loongarch64.

It appears to just be a 1:1 copy of riscv64, including the super weird sign
extension quirk for u32.

Contributes to #21671.

```

## Parents

- [68bd82d0cc9b0cd07cde509c1c89a438b6d297c9](https://git.cafe/gitcafe/zig/commit/68bd82d0cc9b0cd07cde509c1c89a438b6d297c9?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/76558f8c6b8361ab520ea77e4b4cd2bfc8f688ad?format=markdown)
