In D148674, the negative condition was weakened to only
checking isKnownNever(fcNegative), instead of cannotBeOrderedLessThanZero().
This avoids a regression when CannotBeOrderedLessThanZero is
replaced with computeKnownFPClass.
Paths
| Differential D149257
ValueTracking: Restore ordered negative handling for frem ClosedPublic Authored by arsenm on Apr 26 2023, 7:17 AM.
Details
Diff Detail Event TimelineComment Actions Same should also be done for fdiv but I guess there weren't any pre-existing tests relying on this This revision is now accepted and ready to land.Apr 26 2023, 12:24 PM
Revision Contents
Diff 517163 llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/Attributor/nofpclass-frem.ll
|