[all-commits] [llvm/llvm-project] 8f31c6: [BOLT] Support profile density with basic samples ...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Sat May 10 21:02:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f31c6dde730fd1e4d64a6126474f51446fef453
      https://github.com/llvm/llvm-project/commit/8f31c6dde730fd1e4d64a6126474f51446fef453
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2025-05-10 (Sat, 10 May 2025)

  Changed paths:
    M bolt/include/bolt/Profile/DataReader.h
    M bolt/lib/Profile/DataAggregator.cpp
    M bolt/lib/Profile/DataReader.cpp
    M bolt/test/perf2bolt/perf_test.test

  Log Message:
  -----------
  [BOLT] Support profile density with basic samples (#137644)

For profile with LBR samples, binary function profile density is
computed as a ratio of executed bytes to function size in bytes.

For profile with IP samples, use the size of basic block containing the
sample IP as a numerator.

Test Plan: updated perf_test.test



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