[llvm] [RISCV][GlobalISel] Legalize and select G_PREFETCH (PR #215466)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 08:50:58 PDT 2026


================
@@ -1694,6 +1799,89 @@ bool RISCVInstructionSelector::materializeImm(Register DstReg, int64_t Imm,
   return true;
 }
 
+InstructionSelector::ComplexRendererFns
+RISCVInstructionSelector::computeConstAddrPlan(int64_t CVal, bool IsPrefetch,
----------------
topperc wrote:

Should this be named something like selectConstantAddr?

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


More information about the llvm-commits mailing list