stage1: fix @sizeOf for 128-bit integer types

This commit is contained in:
Andrew Kelley 2022-05-04 17:31:12 -07:00
parent f21c11a7f7
commit 2f6a01d0c3

View File

@ -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.
// See: https://github.com/ziglang/zig/issues/2987
entry->abi_align = 16;
entry->abi_size = align_forward(entry->abi_size, entry->abi_align);
}
}