diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index 223986cde64c..159684db00f4 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -6231,6 +6231,7 @@ LoopVectorizationCostModel::selectVectorizationFactor(bool OptForSize) { else { // If the trip count that we found modulo the vectorization factor is not // zero then we require a tail. + // FIXME: look for a smaller VF that does divide TC rather than give up. ORE->emit(createMissedAnalysis("NoTailLoopWithOptForSize") << "cannot optimize for size and vectorize at the " "same time. Enable vectorization of this loop "