[PATCH] D121940: [SLP] Support internal users of splat loads
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 18 08:38:31 PDT 2022
ABataev added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:1179
+ // Bail out if we have too many uses to save compilation time.
+ static constexpr unsigned Limit = 16;
+ if (V1->hasNUsesOrMore(Limit) || V2->hasNUsesOrMore(Limit))
----------------
That's too much, I assume. Better to have 4-8, it may require to many iterations in the all_of function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121940/new/
https://reviews.llvm.org/D121940
More information about the llvm-commits
mailing list