[llvm] [SLP] Don't recognize rotated widened strided stores in analyzeRtStrideCandidate() (PR #204013)

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 07:18:20 PDT 2026


================
@@ -7646,6 +7650,10 @@ bool BoUpSLP::analyzeRtStrideCandidate(ArrayRef<Value *> PointerOps,
       return false;
     VecSz = Sz / NumOffsets;
   }
+
+  if (BaseSCEVs.size() != VecSz)
+    return false;
+
----------------
mgudim wrote:

Thanks, I see now how it works. I think we should split removing "Coeffs" arg into a separte PR?

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


More information about the llvm-commits mailing list