The graph is more accurate when I don't completely ignore the return value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2952 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-07-18 01:58:24 +00:00
parent 0b5909e6ae
commit d124c38993

View File

@ -151,6 +151,9 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
ResolveArguments(Call, FI, OldValMap);
if (Call[0]) // Handle the return value if present
RetVal->mergeWith(Call[0]);
// Merge global value nodes in the inlined graph with the global
// value nodes in the current graph if there are duplicates.
//