Adapt to LLVM head, again
authorHongbin Zheng <etherzhhb@gmail.com>
Thu, 25 Feb 2016 17:54:42 +0000 (17:54 +0000)
committerHongbin Zheng <etherzhhb@gmail.com>
Thu, 25 Feb 2016 17:54:42 +0000 (17:54 +0000)
llvm-svn: 261905

polly/lib/CodeGen/CodeGeneration.cpp
polly/lib/Transform/CodePreparation.cpp

index 0a52863..d66ff94 100644 (file)
@@ -206,7 +206,7 @@ public:
     AU.addPreserved<LoopInfoWrapperPass>();
     AU.addPreserved<DominatorTreeWrapperPass>();
     AU.addPreserved<GlobalsAAWrapperPass>();
-    AU.addPreserved<PostDominatorTree>();
+    AU.addPreserved<PostDominatorTreeWrapperPass>();
     AU.addPreserved<IslAstInfo>();
     AU.addPreserved<ScopDetection>();
     AU.addPreserved<ScalarEvolutionWrapperPass>();
index bebaab1..d9d9247 100644 (file)
@@ -70,7 +70,7 @@ void CodePreparation::getAnalysisUsage(AnalysisUsage &AU) const {
   AU.addPreserved<LoopInfoWrapperPass>();
   AU.addPreserved<RegionInfoPass>();
   AU.addPreserved<DominatorTreeWrapperPass>();
-  AU.addPreserved<DominanceFrontier>();
+  AU.addPreserved<DominanceFrontierWrapperPass>();
 }
 
 bool CodePreparation::runOnFunction(Function &F) {