[PATCH] D82053: [PGO][PGSO] Enable non-cold size opts under partial profile sample PGO.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 17 14:02:17 PDT 2020


yamauchi created this revision.
yamauchi added a reviewer: davidxl.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Similar to D81020 <https://reviews.llvm.org/D81020>. Follow up D78949 <https://reviews.llvm.org/D78949>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82053

Files:
  llvm/lib/Transforms/Utils/SizeOpts.cpp


Index: llvm/lib/Transforms/Utils/SizeOpts.cpp
===================================================================
--- llvm/lib/Transforms/Utils/SizeOpts.cpp
+++ llvm/lib/Transforms/Utils/SizeOpts.cpp
@@ -39,7 +39,7 @@
              "to cold code under sample PGO."));
 
 cl::opt<bool> PGSOColdCodeOnlyForPartialSamplePGO(
-    "pgso-cold-code-only-for-partial-sample-pgo", cl::Hidden, cl::init(true),
+    "pgso-cold-code-only-for-partial-sample-pgo", cl::Hidden, cl::init(false),
     cl::desc("Apply the profile guided size optimizations only "
              "to cold code under partial-profile sample PGO."));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82053.271471.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200617/68740cf9/attachment.bin>


More information about the llvm-commits mailing list