Skip to content

Commit 62882ec

Browse files
author
tnowicki
committed
[Coroutines] Updated with reviewer feedback
1 parent 9331a61 commit 62882ec

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

llvm/include/llvm/Analysis/LazyCallGraph.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,9 +1087,11 @@ class LazyCallGraph {
10871087
///
10881088
/// Marks the original function as referencing all new functions.
10891089
///
1090-
/// The CG must be updated following the use of this helper, for example with
1091-
/// updateCGAndAnalysisManagerForCGSCCPass(), to ensure the RefSCCs and SCCs
1092-
/// are correctly identified.
1090+
/// It is not necessary for each new function to reference all other new
1091+
/// functions. Spurious/missing ref edges are allowed. The new functions
1092+
/// are considered to be a RefSCC. If any new function references the
1093+
/// original function they are all considered to be part of the original
1094+
/// functions RefSCC.
10931095
void addSplitRefRecursiveFunctions(Function &OriginalFunction,
10941096
ArrayRef<Function *> NewFunctions);
10951097

0 commit comments

Comments
 (0)