[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
Mon Jun 22 10:13:27 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9e1decf74346: [PGO][PGSO] Enable non-cold size opts under partial profile sample PGO. (authored by yamauchi).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82053/new/

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.272484.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200622/03d2e462/attachment-0001.bin>


More information about the llvm-commits mailing list