Completely merge the implementation details of DomTree and PostDomTree.

Also, add a FIXME for a bug in PostDomTree calculation I noticed while writing this,


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42593 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2007-10-03 21:25:45 +00:00
parent 9c8a9af5af
commit 9cb7f49ee9
7 changed files with 97 additions and 214 deletions
+2 -2
View File
@@ -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;
}