[llvm] [RISCV][GlobalISel] Legalize and select G_PREFETCH (PR #215466)
Kane Wang via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 00:46:22 PDT 2026
================
@@ -1694,6 +1803,129 @@ bool RISCVInstructionSelector::materializeImm(Register DstReg, int64_t Imm,
return true;
}
+bool RISCVInstructionSelector::materializeInstSeq(
+ Register DstReg, const RISCVMatInt::InstSeq &Seq, MachineInstr &MI) const {
+ assert(!Seq.empty() && "materializeInstSeq requires a non-empty sequence");
+
+ MachineBasicBlock &MBB = *MI.getParent();
----------------
ReVe1uv wrote:
Done.
https://github.com/llvm/llvm-project/pull/215466
More information about the llvm-commits
mailing list