Re: Improve static and AFDO profile combination

2025-06-22 Thread Jan Hubicka
> In addition to working with you on the issues of profile being lost with > LTO, cloning and other cases, my plan is to > 1) finish the VPT reorganization > 2) make AFD reader to scale up the profile since at least in data from > SPEC or profiledbootstrap the counters are quite small integers w

Re: Improve static and AFDO profile combination

2025-06-19 Thread Jan Hubicka
> In an internal application I noticed that the ipa-inliner is quite > sensitive to AFDO counts and that seems to make the performance worse. > Did you notice this? This was before some of your changes. I will try > again. The cases I looked into were mixture of late inlining and ipa-cp cloning be

Re: Improve static and AFDO profile combination

2025-06-17 Thread Kugan Vivekanandarajah
Hi Honza, Thanks for the fixes. > On 18 Jun 2025, at 1:48 am, Jan Hubicka wrote: > > External email: Use caution opening links or attachments > > > Hi, > this patch makes afdo_adjust_guessed_profile more agressive on finding scales > on the boundaries of connected components with no annotation

Improve static and AFDO profile combination

2025-06-17 Thread Jan Hubicka
Hi, this patch makes afdo_adjust_guessed_profile more agressive on finding scales on the boundaries of connected components with no annotation. Originaly I looked for edges into or out of the component with known AFDO counts and I also haled edges from basic block with known AFDO count and known s