[PATCH] D74073: [PGO][PGSO] Enable profile guided size optimization for non-cold code under instrumentation PGO.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 10:30:53 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG4ed205c816e9: [PGO][PGSO] Enable profile guided size optimization for non-cold code under… (authored by yamauchi).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74073

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
@@ -24,12 +24,12 @@
              "if the working set size is large (except for cold code.)"));
 
 cl::opt<bool> PGSOColdCodeOnly(
-    "pgso-cold-code-only", cl::Hidden, cl::init(true),
+    "pgso-cold-code-only", cl::Hidden, cl::init(false),
     cl::desc("Apply the profile guided size optimizations only "
              "to cold code."));
 
 cl::opt<bool> PGSOColdCodeOnlyForInstrPGO(
-    "pgso-cold-code-only-for-instr-pgo", cl::Hidden, cl::init(true),
+    "pgso-cold-code-only-for-instr-pgo", cl::Hidden, cl::init(false),
     cl::desc("Apply the profile guided size optimizations only "
              "to cold code under instrumentation PGO."));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74073.242942.patch
Type: text/x-patch
Size: 857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200206/ece5700d/attachment.bin>


More information about the llvm-commits mailing list