diff options
author | Samuel Parker <sam.parker@arm.com> | 2023-02-06 15:32:52 +0000 |
---|---|---|
committer | Samuel Parker <sam.parker@arm.com> | 2023-02-07 10:54:23 +0000 |
commit | 7bff37783f72ed99e4cdd0fd7dad1bf1f119f793 (patch) | |
tree | 283602e027fcce7821248e51f709f99eaeb0c7e5 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | a7de5c82bbbcd534d3a11e719eea513e3435752b (diff) | |
download | llvm-7bff37783f72ed99e4cdd0fd7dad1bf1f119f793.zip llvm-7bff37783f72ed99e4cdd0fd7dad1bf1f119f793.tar.gz llvm-7bff37783f72ed99e4cdd0fd7dad1bf1f119f793.tar.bz2 |
[SDAG] Check fminnum/fmaxnum for non-zero operand.
Currently, in TargetLowering, if the target does not support fminnum, we lower
to fminimum if neither operand could be a NaN. But this isn't quite correct
because fminnum and fminimum treat +/-0 differently; so, we need to prove that
one of the operands isn't a zero, or we don't have signed zeros.
Differential Revision: https://reviews.llvm.org/D143256
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions