[PATCH] D22952: [LoopVectorize] Detect loops in the innermost loop before creating InnerLoopVectorizer

Tim Shen via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 15:33:20 PDT 2016


timshen marked 3 inline comments as done.

================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:4638-4641
@@ -4558,1 +4637,6 @@
 
+  if (hasCyclesInLoopBody(*TheLoop)) {
+    emitAnalysis(VectorizationReport() << "the loop body has a cycle");
+    return false;
+  }
+
----------------
anemet wrote:
> No.
Removed.


https://reviews.llvm.org/D22952





More information about the llvm-commits mailing list