[PATCH] D107104: [SLP]Improve splats vectorization.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 30 02:58:39 PDT 2021


RKSimon added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:5535
       // Emit pure splat vector.
       // FIXME: why it is not identified as an identity.
+      ReuseShuffleIndicies.append(VF - ReuseShuffleIndicies.size(),
----------------
What is the meaning behind this comment? Do you have examples where an identity (I guess <val0,undef,undef,undef> ?) hasn't been removed and has to be treated as a splat?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107104



More information about the llvm-commits mailing list