[PATCH] D68601: [SampleFDO] Add indexing for function profiles so they can be loaded on demand in ExtBinary format
Wei Mi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 10:57:00 PDT 2019
wmi added a comment.
In D68601#1700595 <https://reviews.llvm.org/D68601#1700595>, @wenlei wrote:
> LGTM. Thanks!
>
> > Symbol list can be provided to llvm-profdata in a plain text file.
>
> I thought it's more convenient to have PSL auto-populated by the tool that generates AutoFDO profile, or is there any reason for not using auto-generated PSL, and instead providing a plain text file as side input?
Putting the list in a plain text file gives more flexibility so user can order the list and strip some of them. You are right it is convenient for create_llvm_prof to get the list from binary directly. I just wanted to point out there is an existing alternative support before we port the support of create_llvm_prof to github.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68601/new/
https://reviews.llvm.org/D68601
More information about the llvm-commits
mailing list