[all-commits] [llvm/llvm-project] a4bdb2: [MemProf] Use profiled lifetime access density dir...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Tue May 2 15:19:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4bdb27538c3bc5b757976e47d663e63880451e3
      https://github.com/llvm/llvm-project/commit/a4bdb27538c3bc5b757976e47d663e63880451e3
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryProfileInfo.h
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/test/ThinLTO/X86/memprof-basic.ll
    M llvm/test/ThinLTO/X86/memprof-duplicate-context-ids.ll
    M llvm/test/ThinLTO/X86/memprof-duplicate-context-ids2.ll
    M llvm/test/ThinLTO/X86/memprof-indirectcall.ll
    M llvm/test/ThinLTO/X86/memprof-inlined.ll
    M llvm/test/ThinLTO/X86/memprof-inlined2.ll
    M llvm/test/Transforms/MemProfContextDisambiguation/basic.ll
    M llvm/test/Transforms/MemProfContextDisambiguation/duplicate-context-ids.ll
    M llvm/test/Transforms/MemProfContextDisambiguation/duplicate-context-ids2.ll
    M llvm/test/Transforms/MemProfContextDisambiguation/indirectcall.ll
    M llvm/test/Transforms/MemProfContextDisambiguation/inlined.ll
    M llvm/test/Transforms/MemProfContextDisambiguation/inlined2.ll
    M llvm/unittests/Analysis/MemoryProfileInfoTest.cpp

  Log Message:
  -----------
  [MemProf] Use profiled lifetime access density directly

Now that the runtime tracks the lifetime access density directly, we can
use that directly in the threshold checks instead of less accurately
computing from other statistics.

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




More information about the All-commits mailing list