[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 08:31:46 PST 2021


ABataev added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:6807
+        return false;
+    // Check if the second instruction is more defined than the first one.
+    NewMask.assign(SI2->getShuffleMask().begin(), SI2->getShuffleMask().end());
----------------
RKSimon wrote:
> Add a comment about keep track of the terminating (trailing?) undefmaskelems
Will do, thanks!


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