SuccessChanges

Summary

  1. [SampleFDO] Add a cutoff flag to control how many symbols will be included (details)
Commit 7fb400112f6c41fc98ee5d584cdc0dfe76393a25 by wmi
[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
The file was modifiedllvm/test/Transforms/SampleProfile/profile-sample-accurate.ll
The file was modifiedllvm/lib/ProfileData/SampleProf.cpp
The file was modifiedllvm/test/Transforms/SampleProfile/Inputs/profile-symbol-list.text