This is an archive of the discontinued LLVM Phabricator instance.

[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
trying to reverse.

Is there a reason we don't need to check this here?

Diff Detail

Event Timeline

craig.topper created this revision.Aug 15 2023, 6:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2023, 6:01 PM
craig.topper requested review of this revision.Aug 15 2023, 6:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2023, 6:01 PM
nikic accepted this revision.Aug 23 2023, 1:33 PM

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
This revision was automatically updated to reflect the committed changes.