[all-commits] [llvm/llvm-project] 128214: [llvm-remarkutil] Introduce summary tool (#160549)

Tobias Stadler via All-commits all-commits at lists.llvm.org
Mon Oct 27 09:55:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 128214f3b2a4b470a4b45f9b2eece7a439d795d7
      https://github.com/llvm/llvm-project/commit/128214f3b2a4b470a4b45f9b2eece7a439d795d7
  Author: Tobias Stadler <mail at stadler-tobias.de>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M llvm/include/llvm/Remarks/Remark.h
    M llvm/lib/Remarks/Remark.cpp
    M llvm/test/tools/llvm-remarkutil/broken-bitstream-remark-magic.test
    M llvm/test/tools/llvm-remarkutil/broken-bitstream-remark.test
    M llvm/test/tools/llvm-remarkutil/broken-yaml-remark.test
    M llvm/test/tools/llvm-remarkutil/empty-file.test
    A llvm/test/tools/llvm-remarkutil/summary/Inputs/inline.yaml
    A llvm/test/tools/llvm-remarkutil/summary/inline.test
    M llvm/tools/llvm-remarkutil/CMakeLists.txt
    M llvm/tools/llvm-remarkutil/RemarkCounter.cpp
    A llvm/tools/llvm-remarkutil/RemarkSummary.cpp
    M llvm/tools/llvm-remarkutil/RemarkUtilHelpers.h

  Log Message:
  -----------
  [llvm-remarkutil] Introduce summary tool (#160549)

This tool provides a harness for implementing different strategies that
summarize many remarks (possibly from multiple translation units) into
new summary remarks. The remark summaries can then be viewed using tools
like `opt-viewer`.

The first summary strategy is `--inline-callees`, which generates
remarks that summarize the per-callee inline statistics for functions
that appear in inling remarks. This is useful for troubleshooting
inlining issues/regressions on large codebases.

Pull Request: https://github.com/llvm/llvm-project/pull/160549



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