forked from OSchip/llvm-project
parent
de244eb450
commit
09cf3121d8
|
@ -6231,6 +6231,7 @@ LoopVectorizationCostModel::selectVectorizationFactor(bool OptForSize) {
|
||||||
else {
|
else {
|
||||||
// If the trip count that we found modulo the vectorization factor is not
|
// If the trip count that we found modulo the vectorization factor is not
|
||||||
// zero then we require a tail.
|
// zero then we require a tail.
|
||||||
|
// FIXME: look for a smaller VF that does divide TC rather than give up.
|
||||||
ORE->emit(createMissedAnalysis("NoTailLoopWithOptForSize")
|
ORE->emit(createMissedAnalysis("NoTailLoopWithOptForSize")
|
||||||
<< "cannot optimize for size and vectorize at the "
|
<< "cannot optimize for size and vectorize at the "
|
||||||
"same time. Enable vectorization of this loop "
|
"same time. Enable vectorization of this loop "
|
||||||
|
|
Loading…
Reference in New Issue