[llvm] [MemProf] Use radix tree for alloc contexts in bitcode summaries (PR #117066)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 11:45:27 PST 2024


================
@@ -637,6 +638,10 @@ computeFrameHistogram(llvm::MapVector<CallStackId, llvm::SmallVector<FrameIdTy>>
 template llvm::DenseMap<FrameId, FrameStat> computeFrameHistogram<FrameId>(
     llvm::MapVector<CallStackId, llvm::SmallVector<FrameId>>
         &MemProfCallStackData);
+template llvm::DenseMap<LinearFrameId, FrameStat>
----------------
snehasish wrote:

Add a comment that the only thing different is FrameId LinearFrameId (both of which are the same underlying type). 

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


More information about the llvm-commits mailing list