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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits