[all-commits] [llvm/llvm-project] b8d2f7: [MemProf] Add hot allocation type

Teresa Johnson via All-commits all-commits at lists.llvm.org
Mon May 8 10:35:13 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8d2f7177c39af7be371ba7f46cb00b9c63ef8f5
  Author: Kan Wu <kanwu at google.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    A hot-alloctype.patch
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
    M llvm/test/Assembler/thinlto-memprof-summary.ll
    M llvm/unittests/Analysis/MemoryProfileInfoTest.cpp

  Log Message:
  [MemProf] Add hot allocation type

Add "Hot" AllocationType (in addition to existing cold, notcold).

Use lifetime access density as metric to identify hot allocations.
Treat hot as notcold for MemProfContextDisambiguation for now
before the disambiguation for "hot" is done.

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D149932

More information about the All-commits mailing list