[llvm-branch-commits] [BOLT] ICF-aware Indirect Call Promotion (PR #120493)
Amir Ayupov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Dec 18 15:27:54 PST 2024
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/120493
Indirect Call Promotion used to consider individual symbols in the call
profile. However, with ICF enabled, some symbols might get folded into
one function. Indirect Call Promotion should accumulate their counts to
check against the threshold and generate checks accordingly, one for
unique function.
Test Plan: added bolt/test/X86/icf-aware-icp.s
More information about the llvm-branch-commits
mailing list