This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Add G_IS_FPCLASS
ClosedPublic

Authored by sepavloff on Mar 11 2022, 2:59 AM.

Details

Summary

Add a generic opcode to represent llvm.is_fpclass intrinsic.

Diff Detail

Event Timeline

sepavloff created this revision.Mar 11 2022, 2:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2022, 2:59 AM
sepavloff requested review of this revision.Mar 11 2022, 2:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2022, 2:59 AM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm added inline comments.Mar 11 2022, 7:07 AM
llvm/lib/CodeGen/MachineVerifier.cpp
1657–1661

You can't do this, the target needs to legalize this

sepavloff updated this revision to Diff 414987.Mar 13 2022, 9:48 PM

Do not require destination type be 1-bit

arsenm accepted this revision.Mar 14 2022, 9:42 AM
This revision is now accepted and ready to land.Mar 14 2022, 9:42 AM
This revision was landed with ongoing or failed builds.May 26 2022, 11:52 PM
This revision was automatically updated to reflect the committed changes.