diff options
| author | LemonBoy <thatlemon@gmail.com> | 2021-05-28 10:26:14 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-05-28 19:18:42 -0400 |
| commit | d3fb9f95323eb09b1f1f52e31363401115bfdae9 (patch) | |
| tree | e113fe0475d8f5d3e9289c4802b5e867fa860f0f /src/codegen.zig | |
| parent | 3483931d2a8e9cd565e2c03ee34ac9a7db538a7e (diff) | |
| download | zig-d3fb9f95323eb09b1f1f52e31363401115bfdae9.tar.gz zig-d3fb9f95323eb09b1f1f52e31363401115bfdae9.zip | |
stage1: Fix for atomicrmw xchg on fp types
Bitcast the pointer and operands to integer types having the same size,
working around LLVM inability to lower a LL/SC operation when the
operands have floating-point types (and are reasonably sized).
Closes #4457
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
