forked from OSchip/llvm-project
[PGO][PGSO] Enable profile guided size optimization for non-cold code under instrumentation PGO.
Summary: This enables it for large working set size cases only. This does not enable it under sample PGO. Reviewers: davidxl Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74073
This commit is contained in:
parent
d53c8c6af5
commit
4ed205c816
|
@ -24,12 +24,12 @@ cl::opt<bool> PGSOLargeWorkingSetSizeOnly(
|
|||
"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."));
|
||||
|
||||
|
|
Loading…
Reference in New Issue