diff options
author | Mikhail Gudim <mgudim@gmail.com> | 2025-10-18 05:01:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-18 05:01:50 -0400 |
commit | eb5de5c60cbdae063880420955fd4f21b4704337 (patch) | |
tree | 871931d16e50c63c74bd782e1939050be30e8c8b /llvm/unittests/Bitcode/DataLayoutUpgradeTest.cpp | |
parent | 908b1164c0c433765364623fd14c9d0d2a975f92 (diff) | |
download | llvm-eb5de5c60cbdae063880420955fd4f21b4704337.zip llvm-eb5de5c60cbdae063880420955fd4f21b4704337.tar.gz llvm-eb5de5c60cbdae063880420955fd4f21b4704337.tar.bz2 |
[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.
Diffstat (limited to 'llvm/unittests/Bitcode/DataLayoutUpgradeTest.cpp')
0 files changed, 0 insertions, 0 deletions