[llvm] [ThinLTO][MemProf] Add option to override max ICP with larger number (PR #171652)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 12 18:27:51 PST 2025


================
@@ -85,6 +85,15 @@ static cl::opt<bool> EnableMemProfIndirectCallSupport(
     cl::desc(
         "Enable MemProf support for summarizing and cloning indirect calls"));
 
+// This can be used to override the number of callees created from VP metadata
+// normally taken from the -icp-max-prom option with a larger amount, if useful
+// for analysis.
----------------
snehasish wrote:

Can you elaborate a bit on why an additional option is useful? Just like you mentioned during our offline conversation.

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


More information about the llvm-commits mailing list