[llvm] [ctx_prof] Add Inlining support (PR #106154)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 21:10:45 PDT 2024


================
@@ -63,6 +63,16 @@ class PGOContextualProfile {
     return getDefinedFunctionGUID(F) != 0;
   }
 
+  uint32_t getNrCounters(const Function &F) const {
----------------
minglotus-6 wrote:

nit: what's Nr short for? Maybe add a comment to describe it, or put the full name.

https://github.com/llvm/llvm-project/pull/106154


More information about the llvm-commits mailing list