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)
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D147856
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
Diff Detail Event Timelinearsenm added a parent revision: D147851: ValueTracking: Handle no-nan check for computeKnownFPClass for fadd/fsub.Apr 8 2023, 12:27 PM arsenm added a child revision: D147942: ValueTracking: Delete body of isKnownNeverInfinity.Apr 10 2023, 7:48 AM This revision is now accepted and ready to land.Apr 11 2023, 4:24 AM
Revision Contents
Diff 511919 llvm/lib/Analysis/ValueTracking.cpp
llvm/unittests/Analysis/ValueTrackingTest.cpp
|