[llvm] [RISCV] Handled the uimm9 offset while FrameIndex folding. (PR #149303)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 17 07:39:48 PDT 2025


================
@@ -49,3 +49,47 @@ define void @prefetch_inst_read(ptr noundef %ptr) nounwind  {
   tail call void @llvm.prefetch.p0(ptr nonnull %arrayidx, i32 0, i32 0, i32 0)
   ret void
 }
+
----------------
topperc wrote:

These tests produce identical code without the changes to RISCVRegisterInfo.cpp.

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


More information about the llvm-commits mailing list