[llvm] [SLPVectorizer] Widen constant strided loads. (PR #162324)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 15 09:35:47 PDT 2025


================
@@ -6875,29 +6909,110 @@ bool BoUpSLP::isStridedLoad(ArrayRef<Value *> PointerOps, Type *ScalarTy,
       return false;
     if (!TTI->isLegalStridedLoadStore(VecTy, Alignment))
       return false;
+  }
+  return true;
+}
----------------
alexey-bataev wrote:

This still can be done in a separate NFC patch

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


More information about the llvm-commits mailing list