[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:08:37 PST 2023
================
@@ -21,9 +22,8 @@
using namespace llvm;
using namespace LegalityPredicates;
-RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST) {
- const unsigned XLen = ST.getXLen();
- const LLT sXLen = LLT::scalar(XLen);
+RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST)
+ : STI(ST), XLen(STI.getXLen()), sXLen(LLT::scalar(XLen)) {
----------------
topperc wrote:
Where are XLen and sXLen used?
https://github.com/llvm/llvm-project/pull/72000
More information about the llvm-commits
mailing list