[PATCH] D114087: [SLP]Improve registering and merging of compatible shuffles.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 30 12:30:56 PST 2021


ABataev added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:6549
         V = propagateMetadata(I, E->Scalars);
+      if (auto *I = dyn_cast<Instruction>(V)) {
+        GatherShuffleSeq.insert(I);
----------------
RKSimon wrote:
> Do these 2 if() have to be kept separate? 
Will merge them


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114087



More information about the llvm-commits mailing list