[PATCH] D36113: [Loop Vectorize] Vectorize Loops with Backward Dependence

Aditya Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 08:03:10 PDT 2017


hiraditya added inline comments.


================
Comment at: include/llvm/Transforms/Vectorize/LoopVectorizePred.h:12
+// checks if there is a backward dependence between instructions ,if so, then it
+// tries to reorders instructions, so as to convert non-vectorizable loop into
+// vectorizable form and generates target-independent LLVM-IR. The vectorizer
----------------
s/reorders/reorder


================
Comment at: lib/Transforms/Vectorize/LoopVectorizePred.cpp:188
+      } else
+        reordered |= false;
+    }
----------------
`|= false` is a noop.


https://reviews.llvm.org/D36113





More information about the llvm-commits mailing list