[LLVMdev] Loss of precision with very large branch weights
Diego Novillo
dnovillo at google.com
Fri Apr 24 11:36:47 PDT 2015
On Fri, Apr 24, 2015 at 2:32 PM, Xinliang David Li <davidxl at google.com>
wrote:
> Since we have decided to capture the global hotness using function
> entry count, it is ok to CAP the max weight as of today. I think the
> remaining bug in PR22718 is that when capping happens, the scaling is
> not done. That needs to be fixed.
>
The problem here is that the two loops show up equally hot. So the function
entry count for bar() won't really help since it seems like both loops call
bar() equally frequently.
> The efficiency of the interface is a different issue.
>
>
Yeah. I'm looking at the hotness calculation first.
Diego.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150424/a44ad583/attachment.html>
More information about the llvm-dev
mailing list