[all-commits] [llvm/llvm-project] fd49cc: [BOLT][NFC] Print functions after attaching profil...
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Wed Jun 28 17:51:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd49cc87d0024c7d5c9f068bbf2f9a7e9a6ac0f3
https://github.com/llvm/llvm-project/commit/fd49cc87d0024c7d5c9f068bbf2f9a7e9a6ac0f3
Author: Amir Ayupov <aaupov at fb.com>
Date: 2023-06-28 (Wed, 28 Jun 2023)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
[BOLT][NFC] Print functions after attaching profile (-print-profile)
Add an extra point of dumping functions: immediately after attaching the profile information.
This dumping is enabled by newly introduced `-print-profile` and `-print-all`.
The reason is that in `aggregate-only`/perf2bolt mode BOLT may not reach the point of
printing the function after CFG is constructed (`-print-cfg`), while we may still want to inspect
the attached profile, especially for diff'ing purposes.
Reviewed By: #bolt, rafauler
Differential Revision: https://reviews.llvm.org/D153996
More information about the All-commits
mailing list