Re: Fix ICE with auto-fdo and -fpartial-profiling

2025-09-08 Thread Jan Hubicka
Hello, > Hi Honza, > > > > On 5 Sep 2025, at 1:30 am, Jan Hubicka wrote: > > > > External email: Use caution opening links or attachments > > > > > > Hi, > > with -fpartial-profling we ICE building perlbench and gcc from spec2k17 > > since > > afdo_annotate_cfg applies knowlede about zero pr

Re: Fix ICE with auto-fdo and -fpartial-profiling

2025-09-07 Thread Kugan Vivekanandarajah
Hi Honza, > On 5 Sep 2025, at 1:30 am, Jan Hubicka wrote: > > External email: Use caution opening links or attachments > > > Hi, > with -fpartial-profling we ICE building perlbench and gcc from spec2k17 since > afdo_annotate_cfg applies knowlede about zero profiles too early. This patch > mov

Re: Fix ICE with auto-fdo and -fpartial-profiling

2025-09-04 Thread Kugan Vivekanandarajah
Hi Honza, > On 5 Sep 2025, at 1:30 am, Jan Hubicka wrote: > > External email: Use caution opening links or attachments > > > Hi, > with -fpartial-profling we ICE building perlbench and gcc from spec2k17 since > afdo_annotate_cfg applies knowlede about zero profiles too early. This patch > mo

Fix ICE with auto-fdo and -fpartial-profiling

2025-09-04 Thread Jan Hubicka
Hi, with -fpartial-profling we ICE building perlbench and gcc from spec2k17 since afdo_annotate_cfg applies knowlede about zero profiles too early. This patch moves it after the early exit when profile is 0 everywhere and also fixes formatting issue in the next block. Bootstrapped/regtesed x86_64