summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/PostDominators.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-10-03 21:25:45 +0000
committerOwen Anderson <resistor@mac.com>2007-10-03 21:25:45 +0000
commit8313e75ea77b57b1d4eda0f95656a44c8256c2f4 (patch)
tree1420b3d807b1db983bb44a7cb49847ece59d0480 /llvm/lib/Analysis/PostDominators.cpp
parent87337924d59aa6cffe61b7297887a7b3738ff58d (diff)
downloadbcm5719-llvm-8313e75ea77b57b1d4eda0f95656a44c8256c2f4.tar.gz
bcm5719-llvm-8313e75ea77b57b1d4eda0f95656a44c8256c2f4.zip
Completely merge the implementation details of DomTree and PostDomTree.
Also, add a FIXME for a bug in PostDomTree calculation I noticed while writing this, llvm-svn: 42593
Diffstat (limited to 'llvm/lib/Analysis/PostDominators.cpp')
-rw-r--r--llvm/lib/Analysis/PostDominators.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/PostDominators.cpp b/llvm/lib/Analysis/PostDominators.cpp
index 0ca73882312..f066f7ae525 100644
--- a/llvm/lib/Analysis/PostDominators.cpp
+++ b/llvm/lib/Analysis/PostDominators.cpp
@@ -16,7 +16,7 @@
#include "llvm/Support/CFG.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/SetOperations.h"
-#include "PostDominatorCalculation.h"
+#include "llvm/Analysis/DominatorInternals.h"
using namespace llvm;
//===----------------------------------------------------------------------===//
@@ -47,7 +47,7 @@ bool PostDominatorTree::runOnFunction(Function &F) {
Vertex.push_back(0);
- PDTcalculate(*this, F);
+ Calculate<Inverse<BasicBlock*> >(*this, F);
return false;
}
OpenPOWER on IntegriCloud