[NFC] LoopVectorizationCostModel::getMaximizedVFForTarget(): clarify debug msg

This really isn't talking about vectors in general,
but only about either fixed or scalable vectors,
and it's pretty confusing to see it state
that there aren't any vectors :)
This commit is contained in:
Roman Lebedev 2021-06-17 20:53:48 +03:00
parent 4e2aee8d3b
commit 37dfc467ac
No known key found for this signature in database
GPG Key ID: 083C3EBB4A1689E0
1 changed files with 3 additions and 1 deletions

View File

@ -5964,7 +5964,9 @@ ElementCount LoopVectorizationCostModel::getMaximizedVFForTarget(
<< (MaxVectorElementCount * WidestType) << " bits.\n"); << (MaxVectorElementCount * WidestType) << " bits.\n");
if (!MaxVectorElementCount) { if (!MaxVectorElementCount) {
LLVM_DEBUG(dbgs() << "LV: The target has no vector registers.\n"); LLVM_DEBUG(dbgs() << "LV: The target has no "
<< (ComputeScalableMaxVF ? "scalable" : "fixed")
<< " vector registers.\n");
return ElementCount::getFixed(1); return ElementCount::getFixed(1);
} }