[all-commits] [llvm/llvm-project] d8873d: [AsmPrint] Dump raw frequencies in `-mbb-profile-d...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Tue Sep 19 14:37:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8873df4dc74cdcbbfd3334657daf9fedfaab951
      https://github.com/llvm/llvm-project/commit/d8873df4dc74cdcbbfd3334657daf9fedfaab951
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/MLRegAlloc/bb-profile-dump.ll

  Log Message:
  -----------
  [AsmPrint] Dump raw frequencies in `-mbb-profile-dump` (#66818)

We were losing the function entry count, which is useful to check profile quality. For the original cases where we want
entrypoint-relative MBB frequencies, the user would just need to divide these values by the entrypoint (first MBB, with ID=0) value.




More information about the All-commits mailing list