> On Thu, Oct 2, 2025 at 12:01 AM Jan Hubicka <[email protected]> wrote:
> >
> > Hi,
> > This patch adds a parameter that controls whether BB profile is read from 
> > auto-profile
> > or we just scale guessed profile according to known counts.  This is mostly 
> > useful as
> > a first aid when auto-profile goes wrong.  Once we fix enough bugs I think 
> > it may be
> > removed but so far it is quite useful, so I decided to push it.
> >
> > Bootstrapped/regtested x86_64-linux, comitted.
> >
> > gcc/ChangeLog:
> >
> >         * auto-profile.cc (determine_scale): Break out from ...
> >         (afdo_adjust_guessed_profile): ... here.
> >         (scale_bb_profile): New function.
> >         (afdo_annotate_cfg): Use it.
> >         * params.opt (auto-profile-bbs): New parmaeter.
> >         * doc/invoke.texi (auto-profile-bbs): Document.
> >
> 
> I think this caused:
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122125

I commited the following patch adding the full stop. My apologizes for
that.

gcc/ChangeLog:

        * params.opt (-param=auto-profile-bbs=): Add missing full stop after
        description.
---
 gcc/params.opt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/params.opt b/gcc/params.opt
index 1f6297de163..f8884e976e7 100644
--- a/gcc/params.opt
+++ b/gcc/params.opt
@@ -68,7 +68,7 @@ Enable asan detection of use-after-return bugs.
 
 -param=auto-profile-bbs=
 Common Joined UInteger Var(param_auto_profile_bbs) Init(1) IntegerRange(0, 1) 
Param Optimization
-Build basic block profile using auto profile
+Build basic block profile using auto profile.
 
 -param=cycle-accurate-model=
 Common Joined UInteger Var(param_cycle_accurate_model) Init(1) IntegerRange(0, 
1) Param Optimization
-- 
2.50.1

Reply via email to