mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 16:35:10 +00:00
The Globals graph must become complete at the end of the BU phase!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8638 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3b0a9be238
commit
ec157b7cde
@ -48,6 +48,11 @@ bool BUDataStructures::run(Module &M) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
NumCallEdges += ActualCallees.size();
|
NumCallEdges += ActualCallees.size();
|
||||||
|
|
||||||
|
// At the end of the bottom-up pass, the globals graph becomes complete.
|
||||||
|
// FIXME: This is not the right way to do this, but it is sorta better than
|
||||||
|
// nothing!
|
||||||
|
GlobalsGraph->maskIncompleteMarkers();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user