[llvm] [MemProf] Don't mutate the function type when calling clone (PR #147829)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 11:07:46 PDT 2025


================
@@ -95,6 +95,7 @@ STATISTIC(NewMergedNodes, "Number of new nodes created during merging");
 STATISTIC(NonNewMergedNodes, "Number of non new nodes used during merging");
 STATISTIC(MissingAllocForContextId,
           "Number of missing alloc nodes for context ids");
+STATISTIC(SkippedCallsCloning, "Number of calls skipped during cloning");
----------------
snehasish wrote:

I wonder if this could be more specific to the reason it was skipped? On the other hand, is this case the only place where we may skip calls during cloning?

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


More information about the llvm-commits mailing list