diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2023-06-14 10:53:56 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2023-07-05 17:23:49 -0400 |
commit | 549166624851094d251f1625d133cfea2dce4ceb (patch) | |
tree | d48982c4c037823a59d4c457924b1f8a69cc3eaa /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | ed556a1ad5461e5cce105f8a42b802cc5e9dbb28 (diff) | |
download | llvm-549166624851094d251f1625d133cfea2dce4ceb.zip llvm-549166624851094d251f1625d133cfea2dce4ceb.tar.gz llvm-549166624851094d251f1625d133cfea2dce4ceb.tar.bz2 |
AMDGPU: Correctly lower llvm.exp.f32
The library expansion has too many paths for all the permutations of
DAZ, unsafe and the 3 exp functions. It's easier to expand it in the
backend when we know all of these things. The library currently misses
the no-infinity check on the overflow, which this handles optimizing
out.
Some of the <3 x half> fast tests regress due to vector widening
dropping flags which will be fixed separately.
Apparently there is no exp10 intrinsic, but there should be. Adds some
deadish code in preparation for adding one while I'm following along
with the current library expansion.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions