[PATCH] D78949: [PGO][PGSO] Prep for enabling non-cold code size opts under non-partial-profile sample PGO.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 10:11:43 PDT 2020


davidxl added inline comments.


================
Comment at: llvm/include/llvm/Transforms/Utils/SizeOpts.h:43
 
+static inline bool isColdCodeOnly(ProfileSummaryInfo *PSI) {
+  return PGSOColdCodeOnly ||
----------------
make the function name consistent with options: PGSOCodeCodeOnly(..)?


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