From f557987b155cc9bf88ad1e497cf796b3c193d12e Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sat, 17 Jan 2015 14:16:56 +0000 Subject: [PM] Update Polly following LLVM r226373 which refactors LoopInfo in preparation for the new pass manager. llvm-svn: 226374 --- polly/lib/CodeGen/IslCodeGeneration.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'polly/lib/CodeGen/IslCodeGeneration.cpp') 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(); + LI = &getAnalysis().getLoopInfo(); AI = &getAnalysis(); DT = &getAnalysis().getDomTree(); SE = &getAnalysis(); @@ -949,11 +949,11 @@ public: AU.addRequired(); AU.addRequired(); AU.addRequired(); - AU.addRequired(); + AU.addRequired(); AU.addPreserved(); - AU.addPreserved(); + AU.addPreserved(); AU.addPreserved(); AU.addPreserved(); AU.addPreserved(); @@ -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); -- cgit v1.2.3