summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopSimplify.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/Utils/LoopSimplify.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/Utils/LoopSimplify.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LoopSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
index f17b26c40e3..63d4a04dd08 100644
--- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp
+++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
@@ -748,7 +748,7 @@ namespace {
AU.addPreserved<GlobalsAAWrapperPass>();
AU.addPreserved<ScalarEvolutionWrapperPass>();
AU.addPreserved<SCEVAAWrapperPass>();
- AU.addPreserved<DependenceAnalysis>();
+ AU.addPreserved<DependenceAnalysisWrapperPass>();
AU.addPreservedID(BreakCriticalEdgesID); // No critical edges added.
}
OpenPOWER on IntegriCloud