[all-commits] [llvm/llvm-project] 5b461d: [FS-AFDO] Assign discriminators to pseudo probes
Hongtao Yu via All-commits
all-commits at lists.llvm.org
Tue Apr 4 17:04:58 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b461d5ec172d21029da492064704fe3da6f8bab
https://github.com/llvm/llvm-project/commit/5b461d5ec172d21029da492064704fe3da6f8bab
Author: Hongtao Yu <hoy at fb.com>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M llvm/lib/CodeGen/MIRFSDiscriminator.cpp
A llvm/test/CodeGen/X86/fsafdo_probe.ll
Log Message:
-----------
[FS-AFDO] Assign discriminators to pseudo probes
This is the first change for FS-AFDO integration with CSSPGO. There are more patches coming.
With pseudo probes, we do not assign FS discriminators to any other instructions since we will be using only probes for profile correlation.
Also call instructions are excluded since their dwarf discriminators are used for other purposes, i.e, storing probe ids. Since they are not getting a FS discriminator, they will also be excluded from MIR profile loading. The corresponding changes will be in the subsequent patches.
Reviewed By: wenlei
Differential Revision: https://reviews.llvm.org/D147286
More information about the All-commits
mailing list