[PM] Update Polly following LLVM r226373 which refactors LoopInfo in
preparation for the new pass manager.
llvm-svn: 226374
diff --git a/polly/lib/CodeGen/Utils.cpp b/polly/lib/CodeGen/Utils.cpp
index 8ea9a4a..c9b1d71 100644
--- a/polly/lib/CodeGen/Utils.cpp
+++ b/polly/lib/CodeGen/Utils.cpp
@@ -26,7 +26,7 @@
PollyIRBuilder Builder(R.getEntry());
DominatorTree &DT = P->getAnalysis<DominatorTreeWrapperPass>().getDomTree();
RegionInfo &RI = P->getAnalysis<RegionInfoPass>().getRegionInfo();
- LoopInfo &LI = P->getAnalysis<LoopInfo>();
+ LoopInfo &LI = P->getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
// Split the entry edge of the region and generate a new basic block on this
// edge. This function also updates ScopInfo and RegionInfo.