[llvm-branch-commits] [llvm] [PGO] Mark unprofiled functions cold by default in IRPGO (PR #243620)

Henry Jiang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Nov 18 20:05:09 PST 2026


mustartt wrote:

I don't think this is the right default. Generally, we don't want to regress performance with stale profiles, since it's often infeasible to collect fresh profiles for every single build for large projects. As an example, suppose a user changes a hot function in a way that it becomes unprofiled, we don't want to unintentionally mark it as cold, which often regresses performance much more than having the default set of optimizations enabled. 

https://github.com/llvm/llvm-project/pull/243620


More information about the llvm-branch-commits mailing list