[llvm] [MemProf] Make sure call clones without callsite node clones get updated (PR #159861)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 20 18:28:23 PDT 2025


================
@@ -0,0 +1,142 @@
+;; Similar to funcassigncloning.ll but hand modified to add another allocation
+;; whose pruned cold context only includes an immediate caller node that itself
+;; doesn't need cloning, but calls a cloned allocating function, and is in a
+;; function that gets cloned multiple times for a different callsite. This test
+;; makes sure the non-cloned callsite is correctly updated in all function
+;; clones. This case was missed because due to context pruning we don't have any
----------------
snehasish wrote:

Missing a word  somewhere in "context pruning we don't have"?

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


More information about the llvm-commits mailing list