https://gcc.gnu.org/g:7faf49825ca47b07bca7b966db66f9f50121076f
commit r15-9566-g7faf49825ca47b07bca7b966db66f9f50121076f Author: Kyrylo Tkachov <ktkac...@nvidia.com> Date: Thu Apr 17 10:50:44 2025 -0700 Document locality partitioning params in invoke.texi Filip Kastl pointed out that contrib/check-params-in-docs.py complains about params not documented in invoke.texi, so this patch adds the short explanation from params.opt for these to the invoke.texi section. Thanks for the reminder. Signed-off-by: Kyrylo Tkachov <ktkac...@nvidia.com> gcc/ * doc/invoke.texi (lto-partition-locality-frequency-cutoff, lto-partition-locality-size-cutoff, lto-max-locality-partition): Document. (cherry picked from commit b7fb18dcf79476aa30ed2ad6cc2eaeab1f266107) Diff: --- gcc/doc/invoke.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 14a78fd236f6..c2e1bf8031b8 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -16961,6 +16961,19 @@ Size of max partition for WHOPR (in estimated instructions). to provide an upper bound for individual size of partition. Meant to be used only with balanced partitioning. +@item lto-partition-locality-frequency-cutoff +The denominator n of fraction 1/n of the execution frequency of callee to be +cloned for a particular caller. Special value of 0 dictates to always clone +without a cut-off. + +@item lto-partition-locality-size-cutoff +Size cut-off for callee including inlined calls to be cloned for a particular +caller. + +@item lto-max-locality-partition +Maximal size of a locality partition for LTO (in estimated instructions). +Value of 0 results in default value being used. + @item lto-max-streaming-parallelism Maximal number of parallel processes used for LTO streaming.