[llvm] [SLP] Split blocking build-vector stores in scalar chains (PR #194970)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Fri May 1 22:03:03 PDT 2026


================
@@ -27244,6 +27180,8 @@ bool SLPVectorizerPass::vectorizeStores(
     int64_t LastDist;
     for (auto [Idx, Data] : enumerate(StoreSeq)) {
       auto &[Dist, InstIdx] = Data;
+      StoreLane Lane = StoreLanes[InstIdx];
+      Lane.Offset = Dist;
----------------
alexey-bataev wrote:

Need another field for distance, not the one used for buildvector position

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


More information about the llvm-commits mailing list