aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCameron McInally <mcinally@cray.com>2021-01-04 14:13:14 -0600
committerCameron McInally <mcinally@cray.com>2021-01-04 14:44:10 -0600
commit92be640bd7d4fbc8e032a0aa81381a0246efa0be (patch)
tree4e281ba55d79342e74226798ca81e602a09e4207 /clang/lib/Frontend/CompilerInvocation.cpp
parentde6d43f16cbaf2eae6fa161ea6e811b8f5f45174 (diff)
downloadllvm-92be640bd7d4fbc8e032a0aa81381a0246efa0be.zip
llvm-92be640bd7d4fbc8e032a0aa81381a0246efa0be.tar.gz
llvm-92be640bd7d4fbc8e032a0aa81381a0246efa0be.tar.bz2
[FPEnv][AMDGPU] Disable FSUB(-0,X)->FNEG(X) DAGCombine when subnormals are flushed
This patch disables the FSUB(-0,X)->FNEG(X) DAG combine when we're flushing subnormals. It requires updating the existing AMDGPU tests to use the fneg IR instruction, in place of the old fsub(-0,X) canonical form, since AMDGPU is the only backend currently checking the DenormalMode flags. Note that this will require follow-up optimizations to make sure the FSUB(-0,X) form is handled appropriately Differential Revision: https://reviews.llvm.org/D93243
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions