Re: Improve -fprofile-report

2021-12-09 Thread Martin Liška
On 12/3/21 10:28, Jan Hubicka wrote: |Do you know how to get that name? With the numbers it is not too hard to find the dump, but I do not mind having it either way.| Hello. Let's keep the names as they are. I've just added the tracking to all LNT instances. Cheers, Martin

Re: Improve -fprofile-report

2021-12-03 Thread Jan Hubicka via Gcc-patches
> On 11/27/21 16:56, Jan Hubicka via Gcc-patches wrote: > > Hi, > > Profile-report was never properly updated after switch to new profile > > representation. This patch fixes the way profile mismatches are > > calculated: we used to collect separately count and freq mismatches, > > while now we ha

Re: Improve -fprofile-report

2021-12-03 Thread Bernhard Reutner-Fischer via Gcc-patches
On Sat, 27 Nov 2021 16:56:32 +0100 Jan Hubicka via Gcc-patches wrote: > --- a/gcc/cfghooks.h > +++ b/gcc/cfghooks.h > @@ -36,22 +36,25 @@ along with GCC; see the file COPYING3. If not see > and one CFG hook per CFG mode. */ > struct profile_record > { > - /* Likewise for a basic block's

Re: Improve -fprofile-report

2021-11-29 Thread Martin Liška
On 11/27/21 16:56, Jan Hubicka via Gcc-patches wrote: Hi, Profile-report was never properly updated after switch to new profile representation. This patch fixes the way profile mismatches are calculated: we used to collect separately count and freq mismatches, while now we have only counts & pro