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

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 11:32:27 PDT 2020


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

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81020

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
@@ -34,7 +34,7 @@
              "to cold code under instrumentation PGO."));
 
 cl::opt<bool> PGSOColdCodeOnlyForSamplePGO(
-    "pgso-cold-code-only-for-sample-pgo", cl::Hidden, cl::init(true),
+    "pgso-cold-code-only-for-sample-pgo", cl::Hidden, cl::init(false),
     cl::desc("Apply the profile guided size optimizations only "
              "to cold code under sample PGO."));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81020.267939.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200602/20004394/attachment.bin>


More information about the llvm-commits mailing list