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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 05:47:17 PDT 2026


================
@@ -593,6 +595,42 @@ RISCVInstructionSelector::selectAddrRegImm(MachineOperand &Root) const {
            [=](MachineInstrBuilder &MIB) { MIB.addImm(0); }}};
 }
 
+InstructionSelector::ComplexRendererFns
----------------
arsenm wrote:

This is still reinventing how this operation is selected. This should behave identically to the DAG's implementation. This should be a purely mechanical translation 

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


More information about the llvm-commits mailing list