[PATCH] D66766: [SampleFDO] Add symbol whitelist section to discriminate function being cold versus function being newly added
Wei Mi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 12:27:35 PDT 2019
wmi created this revision.
wmi added reviewers: davidxl, mtrofin.
Herald added a subscriber: mgrang.
Herald added a project: LLVM.
This is the second half of https://reviews.llvm.org/D66374.
Symbol whitelist is the collection of function symbols showing up in the binary which generates the current profile. It is used to discriminate function being cold versus function being newly added. Symbol whitelist is only added for profile with ExtBinary format.
During profile use compilation, when profile-sample-accurate is enabled, a function without profile will be regarded as cold only when it is contained in that list.
Repository:
rL LLVM
https://reviews.llvm.org/D66766
Files:
include/llvm/ProfileData/SampleProf.h
include/llvm/ProfileData/SampleProfReader.h
include/llvm/ProfileData/SampleProfWriter.h
lib/ProfileData/SampleProf.cpp
lib/ProfileData/SampleProfReader.cpp
lib/ProfileData/SampleProfWriter.cpp
lib/Transforms/IPO/SampleProfile.cpp
test/Transforms/SampleProfile/Inputs/inline.extbinary.afdo
test/Transforms/SampleProfile/symbol-white-list.ll
unittests/ProfileData/SampleProfTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66766.217222.patch
Type: text/x-patch
Size: 21789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190826/7a6baf0c/attachment.bin>
More information about the llvm-commits
mailing list