[llvm] [MemProf] Re-enable cloning of callsites in recursive cycles with fixes (PR #125947)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 07:13:20 PST 2025


================
@@ -3946,6 +4027,11 @@ bool CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::assignFunctions() {
         // handling and makes it less error-prone.
         auto CloneCallerEdges = Clone->CallerEdges;
         for (auto &Edge : CloneCallerEdges) {
+          // Skip removed edges (due to direct recursive edges updated when
----------------
teresajohnson wrote:

fixed

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


More information about the llvm-commits mailing list