Re: Make cgraph frequencies more precise

2015-10-12 Thread Jan Hubicka
> On Sun, Oct 11, 2015 at 11:07 PM, Jan Hubicka wrote: > > Hi, > > this patch fixes a case of extreme imprecision I noticed while looking into > > profiles of PHP interpretter. There is a function that is called 22 times > > and contains the main loop. Now since the frequency of entry block is >

Re: Make cgraph frequencies more precise

2015-10-12 Thread H.J. Lu
On Sun, Oct 11, 2015 at 11:07 PM, Jan Hubicka wrote: > Hi, > this patch fixes a case of extreme imprecision I noticed while looking into > profiles of PHP interpretter. There is a function that is called 22 times > and contains the main loop. Now since the frequency of entry block is dropped > to

Make cgraph frequencies more precise

2015-10-11 Thread Jan Hubicka
Hi, this patch fixes a case of extreme imprecision I noticed while looking into profiles of PHP interpretter. There is a function that is called 22 times and contains the main loop. Now since the frequency of entry block is dropped to 0, we do not have any information of relative frequencies in th