[PATCH] D15245: Use the inlinehint-threshold for hot callees.

Easwaran Raman via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 7 11:15:03 PST 2015


On Mon, Dec 7, 2015 at 10:53 AM, Diego Novillo <dnovillo at google.com> wrote:

> dnovillo added a comment.
>
> Once this is in, please update lib/Transforms/IPO/SampleProfile.cpp. It
> does something similar.
>
It does something similar, but not the same (hotness is based on ratio of
samples in the function to the samples in the program). I'll work on a
common interface that will work for the current frontend instrumentation
based PGO, the backend instrumentation based  PGO Rong is proposing and
sampled PGO.


>
> Also, should cold functions be marked with the cold hint?
>
> I'll send a separate patch for that as  suggested by Justin and David.


> Repository:
>   rL LLVM
>
> http://reviews.llvm.org/D15245
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151207/00d85a78/attachment.html>


More information about the llvm-commits mailing list