This is an archive of the discontinued LLVM Phabricator instance.

ValueTracking: Handle no-nan check for computeKnownFPClass for fmul
ClosedPublic

Authored by arsenm on Apr 8 2023, 12:27 PM.

Details

Summary

Copy the logic from isKnownNeverNaN for fadd/fsub. Leave the
extension to handle the zero case for a future change (which also doesn't sound right to me)

Diff Detail

Event Timeline

arsenm created this revision.Apr 8 2023, 12:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 8 2023, 12:27 PM
arsenm requested review of this revision.Apr 8 2023, 12:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 8 2023, 12:27 PM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm updated this revision to Diff 511931.Apr 8 2023, 3:49 PM

Rebase on baseline attributor test which is easier than unit tests

nikic accepted this revision.Apr 11 2023, 4:24 AM

LGTM

This revision is now accepted and ready to land.Apr 11 2023, 4:24 AM