aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorXavier Bouchoux <xavierb@gmail.com>2023-10-08 11:35:33 +0200
committerXavier Bouchoux <xavierb@gmail.com>2023-10-08 11:37:49 +0200
commit40528b8a9348fc615cc36a85eebd8cc6ee184333 (patch)
tree23d07b8f001f6c545b957d195f31e5f410e7cc75 /src/Compilation.zig
parent370662c565ba541157e3c69d12625c28787d642e (diff)
downloadzig-40528b8a9348fc615cc36a85eebd8cc6ee184333.tar.gz
zig-40528b8a9348fc615cc36a85eebd8cc6ee184333.zip
codegen/llvm: add workarounds to loadTruncate() for llvm codegen bugs
for wasm, as a heuritic, only enable truncation for values smaller than 32bits. -> the bug is no longer triggered in most use cases (or at least the test suite...) as for powerpc, adding a redundant `and mask` produces working code.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions