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 0c90011 commit 77384feCopy full SHA for 77384fe
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -4475,6 +4475,9 @@ void LoopVectorizationPlanner::emitInvalidCostRemarks(
4475
SmallVector<RecipeVFPair> InvalidCosts;
4476
for (const auto &Plan : VPlans) {
4477
for (ElementCount VF : Plan->vectorFactors()) {
4478
+ // The VPlan-based cost model is designed for computing vector cost.
4479
+ // Quering VPlan-based cost model with scarlar VF will cause some error
4480
+ // because we expect the VF is vector for most of the widen recipes.
4481
if (VF.isScalar())
4482
continue;
4483
0 commit comments