[llvm] [RISCV][GISel] Attempt to simplify how we handle type legality for F and D extensions. (PR #72174)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 16:37:13 PST 2023


================
@@ -23,6 +23,15 @@
 using namespace llvm;
 using namespace LegalityPredicates;
 
+static LegalityPredicate typeIsLegalScalarFP(unsigned TypeIdx,
----------------
topperc wrote:

This function will only get Zfh added to it. `typeIsScalarFPArith`? G_FTRUNC/G_FPEXT are the only ones touched by this patch that need Zfhmin.

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


More information about the llvm-commits mailing list