[llvm] e52a38d - [PGO] Enable the working set size scaling under the partial sample PGO.
Hiroshi Yamauchi via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 11:31:06 PDT 2020
Author: Hiroshi Yamauchi
Date: 2020-06-04T11:30:54-07:00
New Revision: e52a38db075e4b399227f4ad8f35ce004ad6b981
URL: https://github.com/llvm/llvm-project/commit/e52a38db075e4b399227f4ad8f35ce004ad6b981
DIFF: https://github.com/llvm/llvm-project/commit/e52a38db075e4b399227f4ad8f35ce004ad6b981.diff
LOG: [PGO] Enable the working set size scaling under the partial sample PGO.
Summary: Following up D79831.
Reviewers: davidxl
Subscribers: eraman, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80939
Added:
Modified:
llvm/lib/Analysis/ProfileSummaryInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/ProfileSummaryInfo.cpp b/llvm/lib/Analysis/ProfileSummaryInfo.cpp
index e3a76a6d075e..655fc244cb39 100644
--- a/llvm/lib/Analysis/ProfileSummaryInfo.cpp
+++ b/llvm/lib/Analysis/ProfileSummaryInfo.cpp
@@ -71,8 +71,7 @@ static cl::opt<bool> PartialProfile(
cl::desc("Specify the current profile is used as a partial profile."));
cl::opt<bool> ScalePartialSampleProfileWorkingSetSize(
- "scale-partial-sample-profile-working-set-size", cl::Hidden,
- cl::init(false),
+ "scale-partial-sample-profile-working-set-size", cl::Hidden, cl::init(true),
cl::desc(
"If true, scale the working set size of the partial sample profile "
"by the partial profile ratio to reflect the size of the program "
More information about the llvm-commits
mailing list