[llvm] [InlineCost] Enable the cost benefit analysis for Sample PGO (PR #66457)

Xiangyang Guo via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 23:04:53 PST 2024


helloguo wrote:

> This patch just let InlineCost use profile data
I don't fully understand this statement. IIUC, this patch changes how the inlining decisions are made (e.g. use cost-benefit instead of cost-threshold). The profile data is used both in cost-benefit and cost-threshold.

Can you share more about the numbers on your internal workloads? such as how much win do you see? and what workloads do you test? 

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


More information about the llvm-commits mailing list