[PATCH] D100865: [COST] Improve shuffle kind detection if shuffle mask is provided.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 22 05:08:54 PDT 2021
ABataev added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:4269
Value *V = TE->Scalars[I];
+ if (isa<UndefValue>(V))
+ continue;
----------------
sdesmalen wrote:
> Is this change supposed to be in this patch?
Ye, without it SLP is unable to detect broadcast case. I can prepare a separate patch for it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100865/new/
https://reviews.llvm.org/D100865
More information about the llvm-commits
mailing list