[PATCH] D45263: [SLP] Allow reordering of vectorization trees with reused instructions.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 06:23:09 PDT 2020


ABataev added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:530
+  const unsigned E = Indices.size();
+  Mask.clear();
+  Mask.resize(E, E + 1);
----------------
RKSimon wrote:
> 2 x Mask.clear() - merge issue?
Yes, missed it, thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D45263



More information about the llvm-commits mailing list