zig/test/behavior
Andrew Kelley f550c29c4e LLVM: fix lowering of structs with underaligned fields
When lowering a struct type to an LLVM struct type, keep track of
whether there are any underaligned fields. If so, then make it a packed
llvm struct. This works because we already insert manual padding bytes
regardless.

We could unconditionally use an LLVM packed struct; the reason we bother
checking for underaligned fields is that it is a conservative choice, in
case LLVM handles packed structs less optimally. A future improvement
could simplify this code by unconditionally using packed LLVM structs
and then make sure measure perf is unaffected.

closes #12190
2022-07-21 22:51:17 -07:00
..
2022-02-28 23:20:05 +01:00
2022-07-14 18:11:46 -07:00
2021-10-28 17:33:05 -07:00
2022-03-18 15:02:52 -07:00
2022-02-13 14:42:20 +02:00
2022-06-08 15:51:48 -07:00
2022-07-14 18:11:46 -07:00
2022-01-07 00:06:06 -05:00
2022-02-22 21:57:42 +01:00
2022-03-05 11:31:51 +01:00
2022-03-18 00:12:22 -07:00
2022-03-18 15:02:52 -07:00