[all-commits] [llvm/llvm-project] 7fb400: [SampleFDO] Add a cutoff flag to control how many ...

wmi-11 via All-commits all-commits at lists.llvm.org
Sat Feb 27 23:16:14 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fb400112f6c41fc98ee5d584cdc0dfe76393a25
      https://github.com/llvm/llvm-project/commit/7fb400112f6c41fc98ee5d584cdc0dfe76393a25
  Author: Wei Mi <wmi at google.com>
  Date:   2021-02-27 (Sat, 27 Feb 2021)

  Changed paths:
    M llvm/lib/ProfileData/SampleProf.cpp
    M llvm/test/Transforms/SampleProfile/Inputs/profile-symbol-list.text
    M llvm/test/Transforms/SampleProfile/profile-sample-accurate.ll

  Log Message:
  -----------
  [SampleFDO] Add a cutoff flag to control how many symbols will be included
into profile symbol list.

When test is unrepresentative to production behavior, sample profile
collected from production can cause unexpected performance behavior
in test. To triage such issue, it is useful to have a cutoff flag
to control how many symbols will be included into profile symbol list
in order to do binary search.

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




More information about the All-commits mailing list