[all-commits] [llvm/llvm-project] 224e4c: [BOLT] Sort BranchData in DataAggregator
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Thu Jun 15 12:09:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 224e4cc516c747b4096fdbe4f2c8d46005eaaa65
https://github.com/llvm/llvm-project/commit/224e4cc516c747b4096fdbe4f2c8d46005eaaa65
Author: Amir Ayupov <aaupov at fb.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M bolt/lib/Profile/DataAggregator.cpp
M bolt/test/runtime/X86/fdata-escape-chars.ll
Log Message:
-----------
[BOLT] Sort BranchData in DataAggregator
Align perf reader to fdata behavior by sorting BranchData after reading samples,
in the same way as DataReader:
https://github.com/llvm/llvm-project/blob/20c66a0c66340f44f04b6526e45bcc5d872d480a/bolt/lib/Profile/DataReader.cpp#L1239
Namely, that order affects CallSiteInfo annotations which determine the
construction order of CallGraph, which in turn affects function reordering.
Reviewed By: #bolt, rafauler
Differential Revision: https://reviews.llvm.org/D152731
More information about the All-commits
mailing list