[llvm] [RISCV][GISel] Add support for G_IS_FPCLASS in F and D extensions (PR #72000)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 15:47:33 PST 2023


================
@@ -0,0 +1,26 @@
+//===-- RISCVInstrGISel.td - RISC-V GISel target pseudos ----*- tablegen -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+/// \file
+// RISC-V GlobalISel target pseudo instruction definitions. This is kept
+// separately from the other tablegen files for organizational purposes, but
+// share the same infrastructure.
+//
+//===----------------------------------------------------------------------===//
+
+class RISCVGenericInstruction : GenericInstruction {
+  let Namespace = "RISCV";
+}
+
+// Pseudo equivalent to a RISCVISD::FPCLASS.
----------------
topperc wrote:

Can you rename RISCVISD::FPCLASS to RISCVISD::FCLASS as pre or post commit?

https://github.com/llvm/llvm-project/pull/72000


More information about the llvm-commits mailing list