[PATCH] D22952: [LoopVectorize] Detect loops in the innermost loop before creating InnerLoopVectorizer
Nadav Rotem via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 29 12:12:58 PDT 2016
nadav added inline comments.
================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:6726
@@ -6659,2 +6725,3 @@
Twine("interleaved loop (interleaved count: ") +
Twine(IC) + ")");
+ } else if (!LVL.hasCyclesInLoopBody()) {
----------------
Is this the correct way to add this check? This looks like a check that needs to be a part of the legality check. Also, we should probably emit a debug message or something.
https://reviews.llvm.org/D22952
More information about the llvm-commits
mailing list