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

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Sep 18 20:41:02 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a1cf545cc0b83a14006df79c960a74bfc4c112c
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M bolt/lib/Profile/YAMLProfileReader.cpp
    A bolt/test/X86/yaml-multiple-profiles.test

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

D159460 regressed the bugfix in D156644. Fix that and emit a warning.
Add a test case.

Reviewed By: #bolt, maksfb

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

More information about the All-commits mailing list