[llvm] [MemProf] Make sure call clones without callsite node clones get updated (PR #159861)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 25 10:53:05 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
----------------
teresajohnson wrote:
No missing word, but it's a bit wordy so it probably wasn't obvious that the "due to" preceding this goes with it. Added some commas to make it easier to parse. Ditto for the other test.
https://github.com/llvm/llvm-project/pull/159861
More information about the llvm-commits
mailing list