forked from OSchip/llvm-project
parent
9ab85275ef
commit
fa616e14fc
|
@ -77,6 +77,7 @@ bool CompleteBUDataStructures::run(Module &M) {
|
|||
if (!I->isExternal() && !DSInfo.count(I))
|
||||
calculateSCCGraphs(getOrCreateGraph(*I), Stack, NextID, ValMap);
|
||||
|
||||
GlobalsGraph->removeTriviallyDeadNodes();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue