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-07-15 10:16:31 +03:00
2022-07-15 14:39:21 +03:00
2022-07-01 21:35:19 -07:00
2022-07-19 14:01:35 -04:00
2022-05-13 16:43:59 -04:00
2022-03-08 20:38:12 +02:00
2022-04-20 17:18:06 -07:00
2022-01-07 00:06:06 -05:00
2022-06-03 20:21:20 +03:00
2022-04-14 10:12:45 -07:00
2022-07-09 15:19:03 +03:00
2022-06-03 20:21:20 +03:00
2022-06-07 21:27:07 +03:00
2022-07-15 14:39:21 +03:00
2022-05-26 21:58:19 -07:00
2022-07-11 18:47:29 +03:00
2022-07-01 21:35:19 -07:00
2022-04-15 17:01:01 -05:00
2022-01-07 00:06:06 -05:00