================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to