[llvm-branch-commits] [llvm] [SandboxVec][LoadStoreVec] Move contiguity check into canVectorize() (NFC) (PR #236636)
Anshil Gandhi via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 29 12:06:28 PDT 2026
================
@@ -30,6 +30,14 @@ namespace sandboxir {
std::optional<Type *> LoadStoreVec::canVectorize(BndlRef<Instruction *> Bndl) {
LLVM_DEBUG(dbgs() << DEBUG_PREFIX << "canVectorize() Bundle:\n";
VecUtils::dump(Bndl));
+ if (isa<StoreInst>(Bndl[0])) {
----------------
gandhi56 wrote:
Oh right, constant LSV calls `canVectorize()`. I will fix this PR to ensure that LoadStoreVec calls `canVectorizeLSV` instead.
https://github.com/llvm/llvm-project/pull/236636
More information about the llvm-branch-commits
mailing list