aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-01 14:56:43 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-01 14:58:37 -0700
commitf6aaab9406807305c2b48fcd742449c9e91f1851 (patch)
tree2eeae513df72230b216a77c627a612239e7df6e9 /src/Module.zig
parent1b194931b0df08db0f38a284bb10b89cc00a8817 (diff)
downloadzig-f6aaab9406807305c2b48fcd742449c9e91f1851.tar.gz
zig-f6aaab9406807305c2b48fcd742449c9e91f1851.zip
LLVM: fix tripping assertions
Packed structs were tripping an LLVM assertion due to calling `LLVMConstZExt` from i16 to i16. Solved by using instead `LLVMConstZExtOrBitCast`. Unions were tripping an LLVM assertion due to a typo using the union llvm type to construct an integer value rather than the tag type.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions