[PATCH] D114087: [SLP]Improve registering and merging of compatible shuffles.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 30 08:27:14 PST 2021
ABataev added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:6815
+ else
+ LastUndefsCnt = 0;
+ if (NewMask[I] != UndefMaskElem && SM1[I] != UndefMaskElem &&
----------------
RKSimon wrote:
> I don't understand - why do you reset LastUndefsCnt here?
`LastUndefsCnt` is the number of terminating undefmaskelems, that's why I reset it each time we ran into non-undef mask elem.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114087/new/
https://reviews.llvm.org/D114087
More information about the llvm-commits
mailing list