aboutsummaryrefslogtreecommitdiff
path: root/src/zig_clang.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-07-14 21:22:01 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-07-14 22:26:11 -0700
commit8c14d170b579e078ff961973e4d28a4946df36d7 (patch)
tree63d2c4d8eaeaa1ae08eac8438d26982f25ddf4b1 /src/zig_clang.cpp
parent9c136be78fcc44d4dd4902605de6af14358c67a3 (diff)
downloadzig-8c14d170b579e078ff961973e4d28a4946df36d7.tar.gz
zig-8c14d170b579e078ff961973e4d28a4946df36d7.zip
Revert "stage2 llvm: Use unpacked struct for unions and arrays"
This reverts commit 2eaef84ebe968224b0cf25206abf12ea1c5e0f5a. Here is a motivating example: ```zig const E = union(enum) { A: [9]u8, B: u64, }; ``` ```llvm %test2.E = type { { i64, [1 x i8] }, i1, [6 x i8] } ``` ``` error(codegen): when lowering test2.E, Zig ABI size = 16 but LLVM ABI size = 24 ```
Diffstat (limited to 'src/zig_clang.cpp')
0 files changed, 0 insertions, 0 deletions