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

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 14:02:28 PST 2016


danielcdh updated this revision to Diff 78260.
danielcdh added a comment.

Update the patch to remove dependency to BFI/PSI and only use trip count to evaluate if we want to unroll the loop.

Also steal Micheal's getLoopEstimatedTripCount implementation.


https://reviews.llvm.org/D26527

Files:
  include/llvm/Transforms/Utils/LoopUtils.h
  lib/Transforms/Scalar/LoopUnrollPass.cpp
  lib/Transforms/Utils/LoopUtils.cpp
  test/Transforms/LoopUnroll/unroll-heuristics-pgo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26527.78260.patch
Type: text/x-patch
Size: 6039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161116/4ff47b00/attachment.bin>


More information about the llvm-commits mailing list