[PM] Update Polly for LLVM r226385 which made LoopInfo actually derive
from LoopInfoBase<...>, removing the need for the awkward getBase()
dance.
llvm-svn: 226387
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp
index 401c005..b80a250 100644
--- a/polly/lib/CodeGen/IslCodeGeneration.cpp
+++ b/polly/lib/CodeGen/IslCodeGeneration.cpp
@@ -711,8 +711,8 @@
Loop *L = LI.getLoopFor(CondBB);
if (L) {
- L->addBasicBlockToLoop(ThenBB, LI.getBase());
- L->addBasicBlockToLoop(ElseBB, LI.getBase());
+ L->addBasicBlockToLoop(ThenBB, LI);
+ L->addBasicBlockToLoop(ElseBB, LI);
}
CondBB->getTerminator()->eraseFromParent();
diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp
index af04137..05ab620 100644
--- a/polly/lib/CodeGen/LoopGenerators.cpp
+++ b/polly/lib/CodeGen/LoopGenerators.cpp
@@ -80,11 +80,11 @@
if (OuterLoop) {
if (GuardBB)
- OuterLoop->addBasicBlockToLoop(GuardBB, LI.getBase());
- OuterLoop->addBasicBlockToLoop(PreHeaderBB, LI.getBase());
+ OuterLoop->addBasicBlockToLoop(GuardBB, LI);
+ OuterLoop->addBasicBlockToLoop(PreHeaderBB, LI);
}
- NewLoop->addBasicBlockToLoop(HeaderBB, LI.getBase());
+ NewLoop->addBasicBlockToLoop(HeaderBB, LI);
// Notify the annotator (if present) that we have a new loop, but only
// after the header block is set.
diff --git a/polly/lib/CodeGen/Utils.cpp b/polly/lib/CodeGen/Utils.cpp
index c9b1d71..87e3703 100644
--- a/polly/lib/CodeGen/Utils.cpp
+++ b/polly/lib/CodeGen/Utils.cpp
@@ -60,7 +60,7 @@
Builder.SetInsertPoint(SplitBlock);
Builder.CreateCondBr(RTC, StartBlock, R.getEntry());
if (Loop *L = LI.getLoopFor(SplitBlock))
- L->addBasicBlockToLoop(StartBlock, LI.getBase());
+ L->addBasicBlockToLoop(StartBlock, LI);
DT.addNewBlock(StartBlock, SplitBlock);
Builder.SetInsertPoint(StartBlock);