> Hi,
> 
> IPA split is now running before auto-profile annotation. Changing it
> after annotation as it is done for PGO.
> 
> gcc/ChangeLog:
> 
> 2025-07-21  Kugan Vivekanandarajah  <kvivekana...@nvidia.com>
> 
>         * ipa-split.cc (pass_split_functions::gate): Do not run when
>         flag_auto_profile.
>         (pass_feedback_split_functions::gate): Run when flag_auto_profile.
> 
> Is this OK?
OK.
I was playing with similar patch which simply kept the early ipa-split
running.  This may make profile annotation slightly more precise for
obvoius splitting opurtunities, but we can experiment with this later.

We still need to handle partial functions specially when dropping clone
suffixes and matching with gimple.  For now I am simply using
-fno-partial-inlinig for my train runs.

Thanks,
Honza
> 
> Thanks,
> Kugan
> 


Reply via email to