[llvm] [memprof] Deduplicate alloc site matches (PR #142334)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 2 07:01:56 PDT 2025


================
@@ -1325,6 +1330,12 @@ PreservedAnalyses MemProfUsePass::run(Module &M, ModuleAnalysisManager &AM) {
   if (SalvageStaleProfile)
     UndriftMaps = computeUndriftMap(M, MemProfReader.get(), TLI);
 
+  // Map from the stack has of each allocation context in the function profiles
----------------
teresajohnson wrote:

s/has/hash/. Also make it "hash and matched frame count", and update the rest of the sentence e.g. to remove "and whether we matched..."

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


More information about the llvm-commits mailing list