[llvm] [MemProf] Remove context id set from nodes and recompute on demand (PR #94415)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 10:35:38 PDT 2024


================
@@ -2446,13 +2515,6 @@ void CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::
   // Now perform some updates that are common to all cases: the NewCallee gets
   // the moved ids added, and we need to remove those ids from OldCallee and
   // update its alloc type (NewCallee alloc type updates handled above).
----------------
teresajohnson wrote:

Removed it completely. The parts talking about the node updates are no longer relevant, and I have a comment in the moved code about it needing to be after the edge updates.

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


More information about the llvm-commits mailing list