mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Try using trivially dead deletion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7075 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ce14ec3901
commit
47030f8a72
@ -135,6 +135,7 @@ void TDDataStructures::calculateGraphFrom(Function &F) {
|
|||||||
|
|
||||||
void TDDataStructures::inlineGraphIntoCallees(DSGraph &Graph) {
|
void TDDataStructures::inlineGraphIntoCallees(DSGraph &Graph) {
|
||||||
// Recompute the Incomplete markers and eliminate unreachable nodes.
|
// Recompute the Incomplete markers and eliminate unreachable nodes.
|
||||||
|
Graph.removeTriviallyDeadNodes();
|
||||||
Graph.maskIncompleteMarkers();
|
Graph.maskIncompleteMarkers();
|
||||||
|
|
||||||
// If any of the functions has incomplete incoming arguments, don't mark any
|
// If any of the functions has incomplete incoming arguments, don't mark any
|
||||||
|
Loading…
Reference in New Issue
Block a user