summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Dominators.cpp
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2016-08-09 00:28:15 +0000
committerSean Silva <chisophugis@gmail.com>2016-08-09 00:28:15 +0000
commit36e0d01e13b32bf318139fd8c43849af7a0e13cc (patch)
tree2f6750af80a017d71ccef78a8cdbf0e7062ba64d /llvm/lib/IR/Dominators.cpp
parentb9a77f827dcfa5fb06b3be105c381c6b0b641b29 (diff)
downloadbcm5719-llvm-36e0d01e13b32bf318139fd8c43849af7a0e13cc.tar.gz
bcm5719-llvm-36e0d01e13b32bf318139fd8c43849af7a0e13cc.zip
Consistently use FunctionAnalysisManager
Besides a general consistently benefit, the extra layer of indirection allows the mechanical part of https://reviews.llvm.org/D23256 that requires touching every transformation and analysis to be factored out cleanly. Thanks to David for the suggestion. llvm-svn: 278077
Diffstat (limited to 'llvm/lib/IR/Dominators.cpp')
-rw-r--r--llvm/lib/IR/Dominators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Dominators.cpp b/llvm/lib/IR/Dominators.cpp
index 57e3df76d02..5c3a2de95c5 100644
--- a/llvm/lib/IR/Dominators.cpp
+++ b/llvm/lib/IR/Dominators.cpp
@@ -301,7 +301,7 @@ void DominatorTree::verifyDomTree() const {
//===----------------------------------------------------------------------===//
DominatorTree DominatorTreeAnalysis::run(Function &F,
- AnalysisManager<Function> &) {
+ FunctionAnalysisManager &) {
DominatorTree DT;
DT.recalculate(F);
return DT;
OpenPOWER on IntegriCloud