[PATCH] D78949: [PGO][PGSO] Prep for enabling non-cold code size opts under non-partial-profile sample PGO.
Hiroshi Yamauchi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 11:50:44 PDT 2020
yamauchi added inline comments.
================
Comment at: llvm/include/llvm/Transforms/Utils/SizeOpts.h:43
+static inline bool isColdCodeOnly(ProfileSummaryInfo *PSI) {
+ return PGSOColdCodeOnly ||
----------------
davidxl wrote:
> make the function name consistent with options: PGSOCodeCodeOnly(..)?
Done. Renamed to isPGSOColdCodeOnly (PGSOColdCodeOnly would conflict with the flag name.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78949/new/
https://reviews.llvm.org/D78949
More information about the llvm-commits
mailing list