[PATCH] D72226: Add LazyCallGraph API to add function to RefSCC
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 10 08:16:07 PST 2020
jdoerfert added a comment.
You don't have a CallGraphUpdater interface for this. Is this on purpose? (The test mentions CallGraphUpdater still).
================
Comment at: llvm/include/llvm/Analysis/LazyCallGraph.h:1064
+ /// Introduce a node for the function \p NewF in the RefSCC \p RC.
+ void addNewFunctionIntoRefSCC(Function &NewF, RefSCC &RC);
----------------
You have to specify that the node will form a new SCC inside of \p RC
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72226/new/
https://reviews.llvm.org/D72226
More information about the llvm-commits
mailing list