[PATCH] D80939: [PGO] Enable the working set size scaling under the partial sample PGO.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 11:18:44 PDT 2020


yamauchi created this revision.
yamauchi added a reviewer: davidxl.
Herald added subscribers: hiraditya, eraman.
Herald added a project: LLVM.
yamauchi added a parent revision: D79831: [PGO] Improve the working set size heuristics under the partial sample PGO..

Following up D79831 <https://reviews.llvm.org/D79831>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80939

Files:
  llvm/lib/Analysis/ProfileSummaryInfo.cpp


Index: llvm/lib/Analysis/ProfileSummaryInfo.cpp
===================================================================
--- llvm/lib/Analysis/ProfileSummaryInfo.cpp
+++ llvm/lib/Analysis/ProfileSummaryInfo.cpp
@@ -71,8 +71,7 @@
     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 "


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80939.267672.patch
Type: text/x-patch
Size: 698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200601/304a4870/attachment.bin>


More information about the llvm-commits mailing list