Re: [PATCH] Use -fopt-info in unswitch pass.

2021-12-08 Thread Martin Liška
On 12/8/21 16:23, Richard Biener wrote: Likewise. Otherwise looks OK. Fine, I fixed all the notes and installed the patch as df704591a2cad3526456aa77be403d21c822724d. Cheers, Martin

Re: [PATCH] Use -fopt-info in unswitch pass.

2021-12-08 Thread Richard Biener via Gcc-patches
On December 8, 2021 10:32:20 AM GMT+01:00, "Martin Liška" wrote: >The patch is about porting of dump information to -fopt-info so >that we can compare the current pass with a modified one. > >Right now, there are 1945 'optimized: Unswitching loop on condition' lines >for SPEC 2006 benchmark. > >M

[PATCH] Use -fopt-info in unswitch pass.

2021-12-08 Thread Martin Liška
The patch is about porting of dump information to -fopt-info so that we can compare the current pass with a modified one. Right now, there are 1945 'optimized: Unswitching loop on condition' lines for SPEC 2006 benchmark. Moreover, I adjusted dump functions in profile-count.{ch} so that it dumps