aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-05 21:43:56 +0000
committerChris Lattner <sabre@nondot.org>2011-04-05 21:43:56 +0000
commit51fbec9021e180af6e9bb6ec7d0a6ed3bd73a0f3 (patch)
tree1eda00ecefaafc8a65d81ef38b003b068cb41528 /tools
parentc5ddb740895f4f2efe58bcd6d092d07d0bdb2527 (diff)
downloadexternal_llvm-51fbec9021e180af6e9bb6ec7d0a6ed3bd73a0f3.zip
external_llvm-51fbec9021e180af6e9bb6ec7d0a6ed3bd73a0f3.tar.gz
external_llvm-51fbec9021e180af6e9bb6ec7d0a6ed3bd73a0f3.tar.bz2
remove graphprinter support for domfrontier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/opt/GraphPrinters.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/opt/GraphPrinters.cpp b/tools/opt/GraphPrinters.cpp
index 791caf5..30361f5 100644
--- a/tools/opt/GraphPrinters.cpp
+++ b/tools/opt/GraphPrinters.cpp
@@ -18,7 +18,7 @@
#include "llvm/Pass.h"
#include "llvm/Value.h"
#include "llvm/Analysis/CallGraph.h"
-#include "llvm/Analysis/DominanceFrontier.h"
+#include "llvm/Analysis/Dominators.h"
#include "llvm/Support/ToolOutputFile.h"
using namespace llvm;
@@ -103,13 +103,11 @@ namespace {
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
AU.addRequired<DominatorTree>();
- AU.addRequired<DominanceFrontier>();
}
virtual bool runOnFunction(Function &F) {
getAnalysis<DominatorTree>().dump();
- getAnalysis<DominanceFrontier>().dump();
return false;
}
};