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

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 05:49:37 PST 2023


ABataev added inline comments.


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


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