[llvm] [NFCI][PGO]Re-purpose synthetic entry count to pseduo entry count for AFDO supplementary profiles (PR #139578)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Tue May 13 10:14:29 PDT 2025


mingmingl-llvm wrote:

Actually I think this is already handled by PGOInstrumentation.cpp, in the sense that a function's entry count and branch weights are only populated if the counters are not pseudo (https://github.com/llvm/llvm-project/blob/831592d6171bc62f6991387546512b9cf2ce1c9e/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp#L2260-L2269). I'll drop this change and clean-up the unused synthetic count in a different change.

Sorry for the noise!

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


More information about the llvm-commits mailing list