This is an archive of the discontinued LLVM Phabricator instance.

InstCombine: Fold is.fpclass (fneg x) into the test mask
ClosedPublic

Authored by arsenm on Dec 12 2022, 4:53 PM.

Diff Detail

Event Timeline

arsenm created this revision.Dec 12 2022, 4:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 12 2022, 4:53 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
arsenm requested review of this revision.Dec 12 2022, 4:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 12 2022, 4:53 PM
Herald added a subscriber: wdng. · View Herald Transcript
foad accepted this revision.Dec 13 2022, 5:48 AM

LGTM. Could do the same kind of thing with abs.

This revision is now accepted and ready to land.Dec 13 2022, 5:48 AM
foad added a comment.Dec 13 2022, 6:02 AM

Could do the same kind of thing with abs.

I've just seen D139903!

jcranmer-intel accepted this revision.Dec 20 2022, 8:35 AM