[PATCH] D144958: [SLP]Initial support for reshuffling of non-starting buildvector/gather nodes.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 05:19:06 PST 2023


RKSimon added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:9412
+      if (VF1 != VF2) {
         SmallVector<int> ExtMask(VF, UndefMaskElem);
         std::iota(ExtMask.begin(),
----------------
Should VF be std::max(VF1, VF2) ?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144958/new/

https://reviews.llvm.org/D144958



More information about the llvm-commits mailing list