mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
0b5909e6ae
commit
d124c38993
@ -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.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user