[all-commits] [llvm/llvm-project] b49eac: Recommit [SampleFDO] Add flag for partial profile.
wmi-11 via All-commits
all-commits at lists.llvm.org
Tue Apr 7 14:30:31 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b49eac71ad76cd8ee3771745ff591ee8771eab1b
https://github.com/llvm/llvm-project/commit/b49eac71ad76cd8ee3771745ff591ee8771eab1b
Author: Wei Mi <wmi at google.com>
Date: 2020-04-07 (Tue, 07 Apr 2020)
Changed paths:
M llvm/include/llvm/IR/ProfileSummary.h
M llvm/include/llvm/ProfileData/SampleProf.h
M llvm/include/llvm/ProfileData/SampleProfWriter.h
M llvm/lib/ProfileData/SampleProfReader.cpp
A llvm/test/tools/llvm-profdata/show-prof-info.test
R llvm/test/tools/llvm-profdata/show-prof-size.test
M llvm/tools/llvm-profdata/llvm-profdata.cpp
Log Message:
-----------
Recommit [SampleFDO] Add flag for partial profile.
Fix the error of show-prof-info.test on some platforms without zlib.
The common profile usage is to collect profile from a target and then use the profile to guide the optimized build for the same target. There are some cases that no profile can be collected for a target. In those cases, although no full profile is available, it is possible to have some partial profile collected from other targets to optimize common libraries and utilities. A flag is needed to tell the partial profile from the full profile apart, so compiler can use different strategy for them.
Differential Revision: https://reviews.llvm.org/D77426
More information about the All-commits
mailing list