zig/lib
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
..
compiler_rt LLVM: implement signext/zeroext attributes 2022-07-13 11:14:46 -07:00
docs
include update C headers to LLVM 14.0.6 2022-07-03 15:58:39 -07:00
init-exe
init-lib
libc update macOS libc headers 2022-07-04 12:14:48 -07:00
libcxx libcxx: do not include __config_site 2022-07-02 20:40:59 -07:00
libcxxabi update libcxxabi to llvm 14.0.6 2022-07-01 16:39:29 -07:00
libunwind update libunwind to llvm 14.0.6 2022-07-01 16:39:31 -07:00
std LLVM: fix lowering of structs with underaligned fields 2022-07-21 22:51:17 -07:00
tsan
build_runner.zig
c.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
compiler_rt.zig stage2: lower float negation explicitly 2022-06-30 00:02:00 -07:00
ssp.zig
test_runner.zig