diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-01-17 14:16:56 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-01-17 14:16:56 +0000 |
| commit | f557987b155cc9bf88ad1e497cf796b3c193d12e (patch) | |
| tree | dba79273edb486e3a0647172843de890d9339022 /polly/lib/CodeGen/IslCodeGeneration.cpp | |
| parent | 4f8f307c77fa5b4de2eec8868b8734b2ab93dd22 (diff) | |
| download | bcm5719-llvm-f557987b155cc9bf88ad1e497cf796b3c193d12e.tar.gz bcm5719-llvm-f557987b155cc9bf88ad1e497cf796b3c193d12e.zip | |
[PM] Update Polly following LLVM r226373 which refactors LoopInfo in
preparation for the new pass manager.
llvm-svn: 226374
Diffstat (limited to 'polly/lib/CodeGen/IslCodeGeneration.cpp')
| -rw-r--r-- | polly/lib/CodeGen/IslCodeGeneration.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp index 4087c84c1ff..401c005dc74 100644 --- a/polly/lib/CodeGen/IslCodeGeneration.cpp +++ b/polly/lib/CodeGen/IslCodeGeneration.cpp @@ -912,7 +912,7 @@ public: } bool runOnScop(Scop &S) { - LI = &getAnalysis<LoopInfo>(); + LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo(); AI = &getAnalysis<IslAstInfo>(); DT = &getAnalysis<DominatorTreeWrapperPass>().getDomTree(); SE = &getAnalysis<ScalarEvolution>(); @@ -949,11 +949,11 @@ public: AU.addRequired<ScalarEvolution>(); AU.addRequired<ScopDetection>(); AU.addRequired<ScopInfo>(); - AU.addRequired<LoopInfo>(); + AU.addRequired<LoopInfoWrapperPass>(); AU.addPreserved<Dependences>(); - AU.addPreserved<LoopInfo>(); + AU.addPreserved<LoopInfoWrapperPass>(); AU.addPreserved<DominatorTreeWrapperPass>(); AU.addPreserved<IslAstInfo>(); AU.addPreserved<ScopDetection>(); @@ -977,7 +977,7 @@ INITIALIZE_PASS_BEGIN(IslCodeGeneration, "polly-codegen-isl", "Polly - Create LLVM-IR from SCoPs", false, false); INITIALIZE_PASS_DEPENDENCY(Dependences); INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass); -INITIALIZE_PASS_DEPENDENCY(LoopInfo); +INITIALIZE_PASS_DEPENDENCY(LoopInfoWrapperPass); INITIALIZE_PASS_DEPENDENCY(RegionInfoPass); INITIALIZE_PASS_DEPENDENCY(ScalarEvolution); INITIALIZE_PASS_DEPENDENCY(ScopDetection); |

