[PATCH] D132698: [SLP]Fix alternate cmp operands analysis.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 7 10:43:49 PDT 2022


ABataev added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:3669
+  if (!TE.ReuseShuffleIndices.empty()) {
+    // Check if reuse shuffle indices can be improved by reordering.
+    // For this, check that reuse mask is "clustered", i.e. each scalar values
----------------
vdmitrie wrote:
> Is it possible to split off the reordering improvement into a separate patch?
Sure


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132698



More information about the llvm-commits mailing list