diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 746568394f9..87c0470c3db 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -16826,6 +16826,9 @@ If non-zero and used together with @option{-fauto-profile}, the auto-profile will be used to determine basic block profile. If zero, then only function level profile will be read. +@item auto-profile-reorder-only +Enable only function reordering with auto-profile. + @item phiopt-factor-max-stmts-live When factoring statements out of if/then/else, this is the max # of statements after the defining statement to be allow to extend the lifetime of a name diff --git a/gcc/params.opt b/gcc/params.opt index c35216f0369..921d143f517 100644 --- a/gcc/params.opt +++ b/gcc/params.opt @@ -72,7 +72,7 @@ Build basic block profile using auto profile. -param=auto-profile-reorder-only= Common Joined UInteger Var(param_auto_profile_reorder_only) Init(0) IntegerRange(0, 1) Param Optimization -Eanble only function reordering with auto-profile. +Enable only function reordering with auto-profile. -param=cycle-accurate-model= Common Joined UInteger Var(param_cycle_accurate_model) Init(1) IntegerRange(0, 1) Param Optimization