Re: [Google] Recompute function frequency after calculating branch probability

2013-04-07 Thread Xinliang David Li
Ok. thanks, David On Sun, Apr 7, 2013 at 8:07 PM, Dehao Chen wrote: > Hi, > > This patch updates the function frequency after calculating branch > probability. This is important because cold function could be promoted > to hot after ipa-inline. > > Bootstrapped and passed gcc regression tests.

[Google] Recompute function frequency after calculating branch probability

2013-04-07 Thread Dehao Chen
Hi, This patch updates the function frequency after calculating branch probability. This is important because cold function could be promoted to hot after ipa-inline. Bootstrapped and passed gcc regression tests. Okay for google-4_7? Thanks, Dehao --- a/gcc/predict.c +++ b/gcc/predict.c @@ -28