[all-commits] [llvm/llvm-project] 0a2b1b: [GlobalISel] Add G_ISNAN

Jessica Paquette via All-commits all-commits at lists.llvm.org
Wed Aug 18 10:42:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a2b1ba33ae6dcaedb81417f7c4cc714f72a5968
      https://github.com/llvm/llvm-project/commit/0a2b1ba33ae6dcaedb81417f7c4cc714f72a5968
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-08-18 (Wed, 18 Aug 2021)

  Changed paths:
    M llvm/docs/GlobalISel/GenericOpcode.rst
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/lib/CodeGen/MachineVerifier.cpp
    A llvm/test/MachineVerifier/test_g_isnan.mir

  Log Message:
  -----------
  [GlobalISel] Add G_ISNAN

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.

Differential Revision: https://reviews.llvm.org/D108222




More information about the All-commits mailing list