[all-commits] [llvm/llvm-project] b35f40: [MemProf] Change the STACK_ID record to fixed widt...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Mon Nov 18 15:17:10 PST 2024


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

  Changed paths:
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/test/Bitcode/summary_version.ll
    A llvm/test/ThinLTO/X86/Inputs/memprof-old-stackid-summary.bc
    A llvm/test/ThinLTO/X86/memprof-old-stackid-summary.ll

  Log Message:
  -----------
  [MemProf] Change the STACK_ID record to fixed width values (#116448)

The stack ids are hashes that are close to 64 bits in size, so emitting
as a pair of 32-bit fixed-width values is more efficient than a VBR.
This reduced the summary bitcode size for a large target by about 1%.

Bump the index version and ensure we can read the old format.



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