[llvm] [RISCV] Recommit "Expand vp.stride.load to splat of a scalar load." (PR #98579)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 23:36:44 PDT 2024


================
@@ -155,6 +163,47 @@ bool RISCVCodeGenPrepare::visitIntrinsicInst(IntrinsicInst &I) {
   return true;
 }
 
+bool RISCVCodeGenPrepare::expandVPStrideLoad(IntrinsicInst &II) {
+  if (ST->hasOptimizedZeroStrideLoad())
----------------
lukel97 wrote:

I think we need to negate this condition now

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


More information about the llvm-commits mailing list