mirror of
https://github.com/ziglang/zig.git
synced 2025-12-21 21:53:08 +00:00
stage1: fix @sizeOf for 128-bit integer types
This commit is contained in:
parent
f21c11a7f7
commit
2f6a01d0c3
@ -7686,6 +7686,7 @@ ZigType *make_int_type(CodeGen *g, bool is_signed, uint32_t size_in_bits) {
|
|||||||
// However for some targets, LLVM incorrectly reports this as 8.
|
// However for some targets, LLVM incorrectly reports this as 8.
|
||||||
// See: https://github.com/ziglang/zig/issues/2987
|
// See: https://github.com/ziglang/zig/issues/2987
|
||||||
entry->abi_align = 16;
|
entry->abi_align = 16;
|
||||||
|
entry->abi_size = align_forward(entry->abi_size, entry->abi_align);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user