[llvm] b5632f4 - [PGO][PGSO] Enable non-cold code size opts under non-partial-profile sample PGO.
Hiroshi Yamauchi via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 10:22:44 PDT 2020
Author: Hiroshi Yamauchi
Date: 2020-06-08T10:02:00-07:00
New Revision: b5632f4083329ce32e1316d7b4af1416b3adc9dd
URL: https://github.com/llvm/llvm-project/commit/b5632f4083329ce32e1316d7b4af1416b3adc9dd
DIFF: https://github.com/llvm/llvm-project/commit/b5632f4083329ce32e1316d7b4af1416b3adc9dd.diff
LOG: [PGO][PGSO] Enable non-cold code size opts under non-partial-profile sample PGO.
Summary: Following up D78949.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D81020
Added:
Modified:
llvm/lib/Transforms/Utils/SizeOpts.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Utils/SizeOpts.cpp b/llvm/lib/Transforms/Utils/SizeOpts.cpp
index b67d4a18ec43..f18f6b4c5a6a 100644
--- a/llvm/lib/Transforms/Utils/SizeOpts.cpp
+++ b/llvm/lib/Transforms/Utils/SizeOpts.cpp
@@ -34,7 +34,7 @@ cl::opt<bool> PGSOColdCodeOnlyForInstrPGO(
"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."));
More information about the llvm-commits
mailing list