[all-commits] [llvm/llvm-project] 2a9953: [profcheck] Allow `unknown` function entry count (...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Thu Sep 4 13:15:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a99532b8913e4f4a7777d04d56ed0729d3838f9
      https://github.com/llvm/llvm-project/commit/2a99532b8913e4f4a7777d04d56ed0729d3838f9
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2025-09-04 (Thu, 04 Sep 2025)

  Changed paths:
    M llvm/include/llvm/IR/ProfDataUtils.h
    M llvm/lib/IR/ProfDataUtils.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Transforms/Utils/ProfileVerify.cpp
    M llvm/test/Verifier/branch-weight.ll

  Log Message:
  -----------
  [profcheck] Allow `unknown` function entry count (#155918)

Some passes synthesize functions, e.g. WPD, so we may need to indicate “this synthesized function’s entry count cannot be estimated at compile time” - akin to `branch_weights`​.

Issue #147390



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