[llvm] [RISCV][GISel] Add ZFA FP legalization and full tests for 9 insn (PR #118723)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 08:39:52 PST 2024


================
@@ -582,12 +582,19 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST)
       .libcallFor(ST.is64Bit(), {{s32, s128}, {s64, s128}});
 
   // FIXME: We can do custom inline expansion like SelectionDAG.
-  // FIXME: Legal with Zfa.
   getActionDefinitionsBuilder({G_FCEIL, G_FFLOOR, G_FRINT, G_FNEARBYINT,
                                G_INTRINSIC_TRUNC, G_INTRINSIC_ROUND,
----------------
topperc wrote:

There are no tests for G_INTRINSIC_TRUNC

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


More information about the llvm-commits mailing list