This matches the check done by the Reassociate pass that we're
trying to reverse.
Is there a reason we don't need to check this here?
Paths
| Differential D158042
[LICM] Check hasNoSignedZeros in hoistFPAssociation. ClosedPublic Authored by craig.topper on Aug 15 2023, 6:01 PM.
Details Summary This matches the check done by the Reassociate pass that we're Is there a reason we don't need to check this here?
Diff Detail
Event TimelineComment Actions LG Given how vague the reassoc semantics are I'm not sure this is needed, but if other related transforms check for nsz, then doing that here as well seems like a good idea. This revision is now accepted and ready to land.Aug 23 2023, 1:33 PM This revision was landed with ongoing or failed builds.Aug 23 2023, 2:05 PM Closed by commit rGdc02070d6951: [LICM] Check hasNoSignedZeros in hoistFPAssociation. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 552885 llvm/lib/Transforms/Scalar/LICM.cpp
llvm/test/Transforms/LICM/expr-reassociate.ll
|