[PATCH] D36311: [ThinLTO] Add GraphTraits for FunctionSummaries
Charles Saternos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 16 07:09:19 PDT 2017
ncharlie added a comment.
In https://reviews.llvm.org/D36311#843273, @tejohnson wrote:
> Perhaps you can create such a dummy node in the index, which has edges to all the root nodes, and return that as the entry node?
Yeah, I think that'll work! I've been staring at the CallGraph::addToCallGraph() for the last few days but didn't think to apply the same idea of a dummy root node to the Index :P
Thanks!
https://reviews.llvm.org/D36311
More information about the llvm-commits
mailing list