aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-10-05 14:20:12 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-10-05 14:22:38 -0700
commit4ee91bb8a83fbddaf266500196525308525e2605 (patch)
tree5aa0ee6ec57501a7607013cc0a9688341d11f5b8 /src/codegen/spirv
parent5e153b53828875a0c5b6c893ff40add07ac0aafd (diff)
downloadzig-4ee91bb8a83fbddaf266500196525308525e2605.tar.gz
zig-4ee91bb8a83fbddaf266500196525308525e2605.zip
stage1: work around LLVM's buggy fma lowering
* move fmaq from freestanding libc to compiler_rt, unconditionally exported weak_odr. * stage1: add fmaf, fmal, fmaq as symbols that compiler-rt might generate calls to. * stage1: lower `@mulAdd` directly to a call to `fmaq` instead of to the LLVM intrinsic because LLVM will lower it to `fmal` even when the target's `long double` is not equivalent to `f128`. This commit is intended to fix the test suite which is failing on the previous commit.
Diffstat (limited to 'src/codegen/spirv')
0 files changed, 0 insertions, 0 deletions