[all-commits] [llvm/llvm-project] 61eb12: [BOLT] introducing profi params

spupyrev via All-commits all-commits at lists.llvm.org
Mon Jan 9 12:03:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61eb12e1f423063b0ead944827dc53b02baed0d4
      https://github.com/llvm/llvm-project/commit/61eb12e1f423063b0ead944827dc53b02baed0d4
  Author: spupyrev <spupyrev at fb.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SampleProfileInference.h
    M llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
    M llvm/lib/Transforms/Utils/SampleProfileInference.cpp
    M llvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
    M llvm/test/Transforms/SampleProfile/csspgo-import-list.ll
    M llvm/test/Transforms/SampleProfile/profile-context-tracker.ll

  Log Message:
  -----------
  [BOLT] introducing profi params

We want to use profile inference (**profi**) in BOLT for stale profile matching.
To this end, I am making a few changes modifying the interface of the algorithm.
This is the first change for existing usages of profi (e.g., CSSPGO):
- introducing an object holding the algorithmic parameters;
- some renaming of existing options;
- dropped unused option, SampleProfileInferEntryCount, as we don't plan to change its default value;
- no changes in the output / tests.

Reviewed By: hoy

Differential Revision: https://reviews.llvm.org/D134756




More information about the All-commits mailing list