[all-commits] [llvm/llvm-project] 92758a: [BOLT] computing raw branch count for yaml profiles

spupyrev via All-commits all-commits at lists.llvm.org
Tue Mar 28 11:10:06 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92758a99c319450ad4408ce2359e65314c113231
  Author: spupyrev <spupyrev at fb.com>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Profile/YAMLProfileReader.cpp
    M bolt/test/X86/branch-data.test

  Log Message:
  [BOLT] computing raw branch count for yaml profiles

`Function.RawBranchCount` is initialized for fdata profile but not for yaml one.
The diff adds the computation of the field for yaml profiles

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D144211

More information about the All-commits mailing list