summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-05-12 22:19:39 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-05-12 22:19:39 +0000
commit49c22190d0a6e99ab9783b334a5bc5829119c5ae (patch)
tree8ab7f0ad65477391c6bdba487a33a4c2aad2aaa9 /llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
parent203b0773a39dabed9224f8a378e1e04f2763ba26 (diff)
downloadbcm5719-llvm-49c22190d0a6e99ab9783b334a5bc5829119c5ae.tar.gz
bcm5719-llvm-49c22190d0a6e99ab9783b334a5bc5829119c5ae.zip
[PM] Port of the DepndenceAnalysis to the new PM.
Ported DA to the new PM by splitting the former DependenceAnalysis Pass into a DependenceInfo result type and DependenceAnalysisWrapperPass type and adding a new PM-style DependenceAnalysis analysis pass returning the DependenceInfo. Patch by Philip Pfaffe, most of the review by Justin. Differential Revision: http://reviews.llvm.org/D18834 llvm-svn: 269370
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp b/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
index 5b31d248eb9..3de5832ae2b 100644
--- a/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
@@ -95,7 +95,7 @@ public:
}
void getAnalysisUsage(AnalysisUsage &AU) const override {
- AU.addPreserved<DependenceAnalysis>();
+ AU.addPreserved<DependenceAnalysisWrapperPass>();
getLoopAnalysisUsage(AU);
}
};
OpenPOWER on IntegriCloud