diff options
author | David Green <david.green@arm.com> | 2023-06-23 14:45:14 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2023-06-23 14:45:14 +0100 |
commit | 589c940eb3d802fac60ad6171f0deee1ea033a2b (patch) | |
tree | eaab518eb6e16f193c9f7d5fb2a496cbcda00e4e /llvm/lib/Object/ObjectFile.cpp | |
parent | 8762f4c7489cf4711bdffb34fad66d2b9324f066 (diff) | |
download | llvm-589c940eb3d802fac60ad6171f0deee1ea033a2b.zip llvm-589c940eb3d802fac60ad6171f0deee1ea033a2b.tar.gz llvm-589c940eb3d802fac60ad6171f0deee1ea033a2b.tar.bz2 |
[DAG] Fix and expand fmin/fmax reassociation fold.
This call to reassociateReduction is used by both fminnum/fmaxnum and
fminimum/fmaximum. In adding support for fminimum/fmaximum we appear to be
fixing the use of an incorrect reduction type, which should have only applied
to minnum/maxnum.
I also believe that it doesn't need nsz and reassoc to perform the
reassociation. For float min/max it should always be valid.
Differential Revision: https://reviews.llvm.org/D153247
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions