[Cleanup] Remove unused passes
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>
Sun, 1 Mar 2015 18:38:35 +0000 (18:38 +0000)
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>
Sun, 1 Mar 2015 18:38:35 +0000 (18:38 +0000)
llvm-svn: 230896

polly/lib/Analysis/ScopDetection.cpp

index 23a772a..01d8dde 100644 (file)
@@ -1014,8 +1014,6 @@ void polly::ScopDetection::verifyAnalysis() const {
 }
 
 void ScopDetection::getAnalysisUsage(AnalysisUsage &AU) const {
-  AU.addRequired<DominatorTreeWrapperPass>();
-  AU.addRequired<PostDominatorTree>();
   AU.addRequired<LoopInfoWrapperPass>();
   AU.addRequired<ScalarEvolution>();
   // We also need AA and RegionInfo when we are verifying analysis.
@@ -1047,9 +1045,7 @@ INITIALIZE_PASS_BEGIN(ScopDetection, "polly-detect",
                       "Polly - Detect static control parts (SCoPs)", false,
                       false);
 INITIALIZE_AG_DEPENDENCY(AliasAnalysis);
-INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass);
 INITIALIZE_PASS_DEPENDENCY(LoopInfoWrapperPass);
-INITIALIZE_PASS_DEPENDENCY(PostDominatorTree);
 INITIALIZE_PASS_DEPENDENCY(RegionInfoPass);
 INITIALIZE_PASS_DEPENDENCY(ScalarEvolution);
 INITIALIZE_PASS_END(ScopDetection, "polly-detect",