[PATCH] D30062: Estimate speedup due to inlining and use that to adjust threshold.

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 14:32:02 PST 2017


eraman updated this revision to Diff 88946.
eraman added a comment.

- Use CalleeBFI to get the current block's frequency.
- Move accumulateCost into this patch instead of it being part of the dependent patch.


https://reviews.llvm.org/D30062

Files:
  lib/Analysis/InlineCost.cpp
  test/Transforms/Inline/speedup-analysis.ll
  test/Transforms/Inline/speedup-analysis2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30062.88946.patch
Type: text/x-patch
Size: 25883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170217/f5397409/attachment.bin>


More information about the llvm-commits mailing list