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.
Paths
| Differential D108222
[GlobalISel] Add G_ISNAN ClosedPublic Authored by paquette on Aug 17 2021, 10:49 AM.
Details
Summary 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.
Diff Detail Event TimelineHerald added subscribers: dexonsmith, hiraditya, rovka. · View Herald TranscriptAug 17 2021, 10:49 AM paquette added a child revision: D108226: [GlobalISel] Add IRTranslator support for G_ISNAN.Aug 17 2021, 11:05 AM paquette added a child revision: D108227: [GlobalISel] Implement lowering for G_ISNAN + use it in AArch64.Aug 17 2021, 11:12 AM Comment Actions Add a docs entry?
This revision is now accepted and ready to land.Aug 17 2021, 11:12 PM Closed by commit rG0a2b1ba33ae6: [GlobalISel] Add G_ISNAN (authored by paquette). · Explain WhyAug 18 2021, 10:42 AM This revision was automatically updated to reflect the committed changes. lebedev.ri added a reverting change: rG3f1f08f0ed6a: Revert @llvm.isnan intrinsic patchset..Sep 2 2021, 3:54 AM
Revision Contents
Diff 367076 llvm/docs/GlobalISel/GenericOpcode.rst
llvm/include/llvm/Support/TargetOpcodes.def
llvm/include/llvm/Target/GenericOpcodes.td
llvm/lib/CodeGen/MachineVerifier.cpp
llvm/test/MachineVerifier/test_g_isnan.mir
|
Yes, pointers shouldn't be valid.