doc: Document --param auto-profile-reorder-only

This patch adds --param auto-profile-reorder-only into invoke.texi and
fixes spelling in its description.

gcc/ChangeLog:

	* doc/invoke.texi: Document --param auto-profile-reorder-only.
	* params.opt: Fix spelling.

Signed-off-by: Filip Kastl <fkastl@suse.cz>
This commit is contained in:
Filip Kastl
2026-01-26 15:32:19 +01:00
parent f3bf6e1436
commit 1a93153dac
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -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