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

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 11:31:33 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");
----------------
teresajohnson wrote:

I think I will update the description for this one as I suggested, since I'd like to know specifically if/when we hit this case. I'll add a separate stat for the other case(s) when I get a chance.

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


More information about the llvm-commits mailing list