[all-commits] [llvm/llvm-project] ccb470: [MemProf] Use radix tree for alloc contexts in bit...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Fri Nov 22 14:50:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccb4702038900d82d1041ff610788740f5cef723
      https://github.com/llvm/llvm-project/commit/ccb4702038900d82d1041ff610788740f5cef723
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2024-11-22 (Fri, 22 Nov 2024)

  Changed paths:
    M llvm/include/llvm/Bitcode/LLVMBitCodes.h
    M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/ProfileData/MemProf.cpp
    A llvm/test/ThinLTO/X86/Inputs/memprof-old-alloc-context-summary.bc
    A llvm/test/ThinLTO/X86/memprof-old-alloc-context-summary.ll

  Log Message:
  -----------
  [MemProf] Use radix tree for alloc contexts in bitcode summaries (#117066)

Leverage the support added to represent allocation contexts in a more
compact way via a radix tree in the indexed profile to similarly reduce
sizes of the bitcode summaries.

For a large target, this reduced the size of the per-module summaries by
about 18% and in the distributed combined index files by 28%.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list