[PATCH] D26527: Use profile info to adjust loop unroll threshold.

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 15:36:34 PST 2016


danielcdh added inline comments.


================
Comment at: lib/Transforms/Utils/LoopUtils.cpp:1071
+
+Optional<unsigned> llvm::getLoopEstimatedTripCount(Loop *L) {
+  // Only support loops with a unique exiting block, and a latch.
----------------
mzolotukhin wrote:
> This version and the one from D25963 should eventually become the same, right?
Yes, I stole the code from D25963 ;-)


https://reviews.llvm.org/D26527





More information about the llvm-commits mailing list