[PATCH] D32451: Improve profile-guided heuristics to use estimated trip count.
Taewook Oh via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 2 12:54:17 PDT 2017
twoh added inline comments.
================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:7683
+ unsigned ExpectedTC = SE->getSmallConstantMaxTripCount(L);
+ bool HasExpectedTC = (ExpectedTC > 0);
+
----------------
danielcdh wrote:
> Can this code be refactor with the loop unroller to make something like "isFlatLoop"?
I'm afraid I couldn't understand your suggestion. Can you please provide a little bit more of details?
https://reviews.llvm.org/D32451
More information about the llvm-commits
mailing list