[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
Mon Jun 8 10:30:39 PDT 2020


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

Repository:
  rG LLVM Github Monorepo

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

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.269283.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200608/8ed5f7b3/attachment.bin>


More information about the llvm-commits mailing list