Support AutoFDO (sample-based PGO) #64892
Labels
A-codegen
Area: Code generation
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
AutoFDO is a variant of PGO with less compile-time tradeoff. A few modifications are needed on rustc side to make it possible:
AddDiscriminator
pass. It doesn't seem that we are calling this pass in Rust?createCompileUnit
Also (maybe) unlike PGO, AutoFDO needs at least line-level debuginfo to work.
The text was updated successfully, but these errors were encountered: