Add one that I missed
authorChris Lattner <sabre@nondot.org>
Sun, 8 Feb 2004 01:53:10 +0000 (01:53 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 8 Feb 2004 01:53:10 +0000 (01:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11179 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/CompleteBottomUp.cpp

index 58327016dc4ef20b6516ec6f078b821c5a0d9588..1755c8574fc23fcc843eb82ab6a11941dffeecc8 100644 (file)
@@ -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;
 }