forked from OSchip/llvm-project
[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:
parent
4e2aee8d3b
commit
37dfc467ac
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue