diff options
| author | Hiroshi Yamauchi <yamauchi@google.com> | 2019-11-13 13:49:33 -0800 |
|---|---|---|
| committer | Hiroshi Yamauchi <yamauchi@google.com> | 2019-11-13 14:00:47 -0800 |
| commit | 3f0969daf9d0addc4d41a57b4a10f753f5397a5e (patch) | |
| tree | 89a376023a9abcede868a1ce68194975a5e38497 /llvm/lib/Transforms/Utils | |
| parent | d94f63758a6920f139a6eb719b20dd1bbac5484a (diff) | |
| download | bcm5719-llvm-3f0969daf9d0addc4d41a57b4a10f753f5397a5e.tar.gz bcm5719-llvm-3f0969daf9d0addc4d41a57b4a10f753f5397a5e.zip | |
[PGO][PGSO] Temporarily disable the large working set size behavior.
Summary:
This temporarily disables the large working set size behavior in profile guided
size optimization due to internal benchmark regressions.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70207
Diffstat (limited to 'llvm/lib/Transforms/Utils')
| -rw-r--r-- | llvm/lib/Transforms/Utils/SizeOpts.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/SizeOpts.cpp b/llvm/lib/Transforms/Utils/SizeOpts.cpp index f819c67d69d..f1200471cb4 100644 --- a/llvm/lib/Transforms/Utils/SizeOpts.cpp +++ b/llvm/lib/Transforms/Utils/SizeOpts.cpp @@ -23,6 +23,11 @@ cl::opt<bool> PGSOLargeWorkingSetSizeOnly( cl::desc("Apply the profile guided size optimizations only " "if the working set size is large (except for cold code.)")); +cl::opt<bool> PGSOColdCodeOnly( + "pgso-cold-code-only", cl::Hidden, cl::init(true), + cl::desc("Apply the profile guided size optimizations only " + "to cold code.")); + cl::opt<bool> ForcePGSO( "force-pgso", cl::Hidden, cl::init(false), cl::desc("Force the (profiled-guided) size optimizations. ")); |

