[llvm] [SLPVectorizer] Refactor isStridedLoad, NFC. (PR #163844)
Mikhail Gudim via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 16 11:47:03 PDT 2025
================
@@ -6875,27 +6913,39 @@ bool BoUpSLP::isStridedLoad(ArrayRef<Value *> PointerOps, Type *ScalarTy,
return false;
if (!TTI->isLegalStridedLoadStore(VecTy, Alignment))
return false;
+ }
+ return true;
+}
- // Iterate through all pointers and check if all distances are
----------------
mgudim wrote:
this diff disappears if whitespace changes are ignored
https://github.com/llvm/llvm-project/pull/163844
More information about the llvm-commits
mailing list