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

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 02:51:14 PDT 2020


RKSimon accepted this revision.
RKSimon added a comment.

LGTM again (thanks for rebasing - I didn't notice how old the last patch was!). One minor.



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


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