This is an archive of the discontinued LLVM Phabricator instance.

DAG: Lower is.fpclass fcSubnormal|fcZero to fabs(x) < smallest_normal
Needs ReviewPublic

Authored by arsenm on Jun 4 2023, 12:06 PM.

Details

Summary

Produces better code on x86_64 only in the unordered case. Not
sure what the exact condition should be to avoid the regression. Free
fabs might do it, or maybe requires legality checks for the alternative
integer expansion.

Diff Detail

Event Timeline

arsenm created this revision.Jun 4 2023, 12:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 4 2023, 12:06 PM
arsenm requested review of this revision.Jun 4 2023, 12:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 4 2023, 12:06 PM
Herald added a subscriber: wdng. · View Herald Transcript