DominatorTree->print() now prints the status of the DFSNumbers correctly
authorTobias Grosser <grosser@fim.uni-passau.de>
Sun, 9 Jan 2011 16:00:09 +0000 (16:00 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Sun, 9 Jan 2011 16:00:09 +0000 (16:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123120 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/Dominators.h

index 3515e35b1ff5fbc0ed628a4b9624c2e252061b0b..5e86e2b67a0d83875a29056c6679629d0c65105e 100644 (file)
@@ -555,7 +555,7 @@ public:
       o << "Inorder PostDominator Tree: ";
     else
       o << "Inorder Dominator Tree: ";
-    if (this->DFSInfoValid)
+    if (!this->DFSInfoValid)
       o << "DFSNumbers invalid: " << SlowQueries << " slow queries.";
     o << "\n";