[all-commits] [llvm/llvm-project] b30971: [ThinLTO] Remove unused relative block frequency s...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Wed Jan 21 11:40:18 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b30971c4bb3f0654fa4fbb242126376169ae66d0
      https://github.com/llvm/llvm-project/commit/b30971c4bb3f0654fa4fbb242126376169ae66d0
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2026-01-21 (Wed, 21 Jan 2026)

  Changed paths:
    M llvm/include/llvm/Bitcode/LLVMBitCodes.h
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
    M llvm/lib/AsmParser/LLLexer.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/test/Assembler/thinlto-summary.ll
    A llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-relbf.bc
    M llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll

  Log Message:
  -----------
  [ThinLTO] Remove unused relative block frequency support (#177215)

This removes most of the handling of the relative block frequency
support added in 2018 in c73cec84c99e5a63dca961fef67998a677c53a3c, which
was disabled by default and never utilized in the thin link as expected.

Support for reading old Bitcode containing the record is maintained as
required for backwards compatibility requirements, as is the support for
parsing old LLVM assembly containing that information. Tests ensure that
this backwards compatibility is maintained.

This came up in the context of redundant BFI/DT computations which
existed largely for the purpose of computing this information
and are being addressed in PR176646.



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