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

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 22:19:19 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).
----------------
kazutakahirata wrote:

Do you need to update this comment now that you are moving the block of code just after the "for" loop?

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


More information about the llvm-commits mailing list