[llvm-branch-commits] [llvm] [BOLT] Support multiple perf data inputs (PR #199324)
Amir Ayupov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue May 26 18:57:01 PDT 2026
aaupov wrote:
> prefer to use the perf script format directly, as it offers advantages when running perf2bolt multiple times for dependent DSOs
I'm adding support for emitting pre-aggregated profile (#199465) which can be extended to cover DSOs. This way, you could use one input profile to optimize main binary and DSOs (with or without converting to fdata/yaml – #199322 drop the warning that you shouldn't use perf/pre-aggregated for optimization directly). This is what we use internally.
https://github.com/llvm/llvm-project/pull/199324
More information about the llvm-branch-commits
mailing list