[PATCH] D22952: [LoopVectorize] Detect loops in the innermost loop before creating InnerLoopVectorizer
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 12 15:49:56 PDT 2016
anemet added inline comments.
================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:4633-4637
@@ -4552,6 +4632,7 @@
+ //
// We can only vectorize innermost loops.
if (!TheLoop->empty()) {
emitAnalysis(VectorizationReport() << "loop is not the innermost loop");
return false;
}
----------------
OK.
For the record, there is already the PR I quoted above about not reporting anything for non-inner-most loops.
https://reviews.llvm.org/D22952
More information about the llvm-commits
mailing list