[llvm] [Coroutines][LazyCallGraph] resumes are not really SCC (PR #116285)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 21:02:27 PST 2024


================
@@ -1720,6 +1720,7 @@ void LazyCallGraph::addSplitRefRecursiveFunctions(
   for (Function *NewFunction : NewFunctions) {
     Node &NewN = initNode(*NewFunction);
 
+    // Make the original function reference each new function
----------------
aeubanks wrote:

doesn't `initNode` above populate the edges out of the node? that should already be adding the edges in the code you're adding below

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


More information about the llvm-commits mailing list