[all-commits] [llvm/llvm-project] b0b566: [BOLT][YAML] Only read first profile per function

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Jul 31 13:48:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0b566b5da230b16fd381f44f3108f266a293aef
      https://github.com/llvm/llvm-project/commit/b0b566b5da230b16fd381f44f3108f266a293aef
  Author: Amir Ayupov <amir.aupov at gmail.com>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

  Changed paths:
    M bolt/lib/Profile/YAMLProfileReader.cpp

  Log Message:
  -----------
  [BOLT][YAML] Only read first profile per function

Work around the issue of multiple profiles per function.
Can happen with a stale profile which has separate profiles
that in a new binary got merged and became aliases.

Reviewed By: #bolt, maksfb

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




More information about the All-commits mailing list