[all-commits] [llvm/llvm-project] eb5de5: [SLPVectorizer] Refactor isStridedLoad, NFC. (#163...

Mikhail Gudim via All-commits all-commits at lists.llvm.org
Sat Oct 18 02:02:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb5de5c60cbdae063880420955fd4f21b4704337
      https://github.com/llvm/llvm-project/commit/eb5de5c60cbdae063880420955fd4f21b4704337
  Author: Mikhail Gudim <mgudim at gmail.com>
  Date:   2025-10-18 (Sat, 18 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLPVectorizer] Refactor isStridedLoad, NFC. (#163844)

Move the checks that all strides are the same from `isStridedLoad` to a
new function `analyzeConstantStrideCandidate`. This is to reduce the
diff for the following MRs which will modify the logic in
`analyzeConstantStrideCandidate` to cover the case of widening of the
strided load. All the checks that are left in `isStridedLoad` will be
reused.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list