[PATCH] D18237: [SLPVectorizer] Try to vectorize in the range from MaxVecRegSize to MinVecRegSize
Jongwon Lee via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 22:01:23 PDT 2016
JongwonLee marked 2 inline comments as done.
================
Comment at: lib/Transforms/Vectorize/SLPVectorizer.cpp:4327
@@ +4326,3 @@
+ for (unsigned Size = MaxVecRegSize; Size >= MinVecRegSize; Size /= 2) {
+ if (tryToVectorizeList(makeArrayRef(IncIt, NumElts), R, None, false,
+ Size)) {
----------------
mcrosier wrote:
> Shouldn't the call to tryToVectorizeList() still be predicated on NumElts > 1?
Fixed the code to call tryToVectorizeList() when NumElts > 1 is satisfied.
http://reviews.llvm.org/D18237
More information about the llvm-commits
mailing list