summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorAyal Zaks <ayal.zaks@intel.com>2017-03-12 09:48:06 +0000
committerAyal Zaks <ayal.zaks@intel.com>2017-03-12 09:48:06 +0000
commit09cf3121d84f8f53c729106d7d2b0b4e32511b68 (patch)
treeeae4bfcb90b32c955aeb332abfdbd51a251a62bb /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parentde244eb45038165431f67e61541fc5319581a7fa (diff)
downloadbcm5719-llvm-09cf3121d84f8f53c729106d7d2b0b4e32511b68.tar.gz
bcm5719-llvm-09cf3121d84f8f53c729106d7d2b0b4e32511b68.zip
Test commit.
llvm-svn: 297579
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 223986cde64..159684db00f 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 "
OpenPOWER on IntegriCloud