aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2022-12-15 12:57:10 -0500
committerMatt Arsenault <arsenm2@gmail.com>2023-01-23 06:07:22 -0400
commit3b80d02992892c34c5d0860efb764d8f11352dec (patch)
treef1701501d052d5c57fb56d8659ae2e69157214ba /llvm/lib/CodeGen/MachineInstr.cpp
parent586ce6ac9e45c736923f105530a51017c518c82f (diff)
downloadllvm-3b80d02992892c34c5d0860efb764d8f11352dec.zip
llvm-3b80d02992892c34c5d0860efb764d8f11352dec.tar.gz
llvm-3b80d02992892c34c5d0860efb764d8f11352dec.tar.bz2
DAG: Look through fneg when trying to create unsafe minnum/maxnum
This makes most sense for isFNegFree targets, but shouldn't make things worse without it. This avoids AMDGPU test regressions in a future patch. For some reason APFloat::compareAbsoluteValue is private, so compute the neg of the constants.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions