This is an archive of the discontinued LLVM Phabricator instance.

[Reassociate][NFC] Consistent checking if FastMathFlags are suitable
ClosedPublic

Authored by wristow on Jul 22 2022, 7:39 PM.

Details

Summary

In D129523, it was noted by @spatel that the approach to check whether
a value can have FastMathFlags was done in different ways, and they
should be made consistent. This patch makes minor changes to fix that.

Diff Detail

Event Timeline

wristow created this revision.Jul 22 2022, 7:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2022, 7:39 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
wristow requested review of this revision.Jul 22 2022, 7:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2022, 7:39 PM
spatel accepted this revision.Jul 24 2022, 1:50 PM

Thanks! LGTM

This revision is now accepted and ready to land.Jul 24 2022, 1:50 PM
This revision was landed with ongoing or failed builds.Jul 24 2022, 5:46 PM
This revision was automatically updated to reflect the committed changes.

Thanks Sanjay!