[PATCH] D10714: Modify interleave diagnostics to clearly indicate why interleaving wasn't done.
Gerolf Hoflehner
ghoflehner at apple.com
Tue Jul 7 12:31:02 PDT 2015
Gerolf added a subscriber: Gerolf.
================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:1651
@@ +1650,3 @@
+
+ if (VF.Width == 1 &&
+ ((IC == 1 && UserIC <= 1) || (IC > 1 && UserIC == 1))) {
----------------
It would be easier to read if you handled the checks separately
================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:1678
@@ -1650,2 +1677,3 @@
if (VF.Width == 1) {
+ DEBUG(dbgs()
----------------
add assert(IC > 1).
http://reviews.llvm.org/D10714
More information about the llvm-commits
mailing list