[PATCH] D108222: [GlobalISel] Add G_ISNAN

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 17 10:49:55 PDT 2021


paquette created this revision.
paquette added reviewers: sepavloff, aemerson, jroelofs, arsenm.
Herald added subscribers: dexonsmith, hiraditya, rovka.
paquette requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Add a generic opcode equivalent to the `llvm.isnan` intrinsic + MachineVerifier support for it.

We need an opcode here because we may want target-specific lowering later on.


https://reviews.llvm.org/D108222

Files:
  llvm/include/llvm/Support/TargetOpcodes.def
  llvm/include/llvm/Target/GenericOpcodes.td
  llvm/lib/CodeGen/MachineVerifier.cpp
  llvm/test/MachineVerifier/test_g_isnan.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108222.366953.patch
Type: text/x-patch
Size: 4273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210817/7f9ea942/attachment.bin>


More information about the llvm-commits mailing list