diff options
| author | Owen Anderson <resistor@mac.com> | 2008-04-16 04:21:16 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2008-04-16 04:21:16 +0000 |
| commit | 57236b58f73ff4b02cf4c412835dc62ae91c6f27 (patch) | |
| tree | 707eba0eeee45af061f3136eae5afe5545e24433 /llvm/lib/Analysis/PostDominators.cpp | |
| parent | 05e5310ad86871a7a0492325428dfc6f73159f52 (diff) | |
| download | bcm5719-llvm-57236b58f73ff4b02cf4c412835dc62ae91c6f27.tar.gz bcm5719-llvm-57236b58f73ff4b02cf4c412835dc62ae91c6f27.zip | |
Major repairs to the post-dominators implementation. Patch from Florian Brandner!
llvm-svn: 49768
Diffstat (limited to 'llvm/lib/Analysis/PostDominators.cpp')
| -rw-r--r-- | llvm/lib/Analysis/PostDominators.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/PostDominators.cpp b/llvm/lib/Analysis/PostDominators.cpp index 8bfa0692b9a..4330e9039d1 100644 --- a/llvm/lib/Analysis/PostDominators.cpp +++ b/llvm/lib/Analysis/PostDominators.cpp @@ -11,9 +11,12 @@ // //===----------------------------------------------------------------------===// +#define DEBUG_TYPE "postdomtree" + #include "llvm/Analysis/PostDominators.h" #include "llvm/Instructions.h" #include "llvm/Support/CFG.h" +#include "llvm/Support/Debug.h" #include "llvm/ADT/DepthFirstIterator.h" #include "llvm/ADT/SetOperations.h" #include "llvm/Analysis/DominatorInternals.h" @@ -30,6 +33,7 @@ F("postdomtree", "Post-Dominator Tree Construction", true, true); bool PostDominatorTree::runOnFunction(Function &F) { DT->recalculate(F); + DEBUG(DT->dump()); return false; } |

