This is an archive of the discontinued LLVM Phabricator instance.

InstCombine: Fold is.fpclass(x, fcZero) to fcmp oeq 0
ClosedPublic

Authored by arsenm on Feb 3 2023, 6:38 AM.

Details

Summary

This requires the denormal mode to definitively be IEEE handling.

Diff Detail

Event Timeline

arsenm created this revision.Feb 3 2023, 6:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2023, 6:38 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
arsenm requested review of this revision.Feb 3 2023, 6:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2023, 6:38 AM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm added inline comments.Feb 3 2023, 1:29 PM
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
929

Missed saving the inversion

arsenm updated this revision to Diff 494717.Feb 3 2023, 1:31 PM
jcranmer-intel accepted this revision.Mar 9 2023, 12:56 PM
This revision is now accepted and ready to land.Mar 9 2023, 12:56 PM