search for: getorcreatetripcount

Displaying 1 result from an estimated 1 matches for "getorcreatetripcount".

2017 May 18
2
Computing loop trip counts with Scalar evolution
...0; for (k = 0; k < Acols; ++k) { C[i][j] += A[i][k] * B[j][k]; } } } } However, I discovered in LoopVectorize.cpp (http://llvm.org/docs/doxygen/html/LoopVectorize_8cpp_source.html) we have the method InnerLoopVectorizer::getOrCreateTripCount() that seems to do a better job at computing the trip count, even if the implementation differences are not big. The differences are subtle - first of all the method getOrCreateTripCount() doesn't call hasLoopInvariantBackedgeTakenCount(). Please don't hesitate to comment why Inne...