[PATCH] D116312: [SLP]Improve isGatherShuffledEntry to handles shuffles between different length vectors.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 11:04:29 PDT 2022


ABataev added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:6394
+        }
+      }
+      Vec = Builder.CreateShuffleVector(Vec1, Vec2, Mask);
----------------
RKSimon wrote:
> Worth putting all of this inside ShuffleInstructionBuilder ?
Currently it does not support shuffles between 2 input vectors. There are some other patches, where the lambda is added


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116312



More information about the llvm-commits mailing list