We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c06700b commit 72b9763Copy full SHA for 72b9763
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -8564,7 +8564,7 @@ bool BoUpSLP::isTreeTinyAndNotFullyVectorizable(bool ForReduction) const {
8564
// profitable for the vectorization, we can skip it, if the cost threshold is
8565
// default. The cost of vectorized PHI nodes is almost always 0 + the cost of
8566
// gathers/buildvectors.
8567
- constexpr unsigned Limit = 4;
+ constexpr int Limit = 4;
8568
if (!ForReduction && !SLPCostThreshold.getNumOccurrences() &&
8569
!VectorizableTree.empty() &&
8570
all_of(VectorizableTree, [&](const std::unique_ptr<TreeEntry> &TE) {
0 commit comments