[all-commits] [llvm/llvm-project] 6c8731: [BOLT] Sort CallSiteInfo targets by symbol name in...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Jun 20 15:20:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c8731551884713f7d322852844a67d38a433623
      https://github.com/llvm/llvm-project/commit/6c8731551884713f7d322852844a67d38a433623
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-06-20 (Tue, 20 Jun 2023)

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

  Log Message:
  -----------
  [BOLT] Sort CallSiteInfo targets by symbol name in YAMLWriter

Align YAML and fdata profiles by sorting CallSiteInfo targets by symbol name,
aligning it to fdata. By default, YAML CallSiteInfo is sorted by function id,
which is the order of function in the binary.

Follow-up to D152731, aligning yaml vs fdata, and in turn all three between to
each other.

Reviewed By: #bolt, rafauler

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




More information about the All-commits mailing list