[libcxx-commits] [libc] [libcxx] [libcxxabi] [clang-tools-extra] [llvm] [compiler-rt] [lld] [clang] [flang] [CSSPGO] Compute and report post-match profile staleness (PR #79090)

Lei Wang via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 29 11:02:18 PST 2024


================
@@ -433,6 +433,44 @@ using CandidateQueue =
     PriorityQueue<InlineCandidate, std::vector<InlineCandidate>,
                   CandidateComparer>;
 
+// Profile matching statstics.
+class ProfileMatchStats {
----------------
wlei-llvm wrote:

I was thinking that too until I worked with this `StringMap<std::set<LineLocation>> FuncMismatchedCallsites;` which introduce a lot of actions making me think to put them into a new class. But as you suggested below, we can move  `FuncMismatchedCallsites` out of the stats, or even we don't need a new class.



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


More information about the libcxx-commits mailing list