projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b5909e
)
The graph is more accurate when I don't completely ignore the return value.
author
Chris Lattner
<sabre@nondot.org>
Thu, 18 Jul 2002 01:58:24 +0000
(
01:58
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 18 Jul 2002 01:58:24 +0000
(
01:58
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2952
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/BottomUpClosure.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/BottomUpClosure.cpp
b/lib/Analysis/DataStructure/BottomUpClosure.cpp
index c8e9fc3e33e39f7c17e7df0e0bf1e5129d8d1e09..ed468e31430fa420c4b001bea6b529d84495dd2b 100644
(file)
--- a/
lib/Analysis/DataStructure/BottomUpClosure.cpp
+++ b/
lib/Analysis/DataStructure/BottomUpClosure.cpp
@@
-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.
//