[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:07:05 PST 2023
================
@@ -223,6 +224,8 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST) {
})
.clampScalar(0, sXLen, sXLen);
+ getActionDefinitionsBuilder(G_IS_FPCLASS).custom();
----------------
topperc wrote:
Please rebase and then use `customIf(typeIsScalarFPArith(1, ST)` so that we don't do the custom lowering if F or D isn't enabled.
https://github.com/llvm/llvm-project/pull/72000
More information about the llvm-commits
mailing list