summaryrefslogtreecommitdiffstats
path: root/polly/lib
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib')
-rw-r--r--polly/lib/CodeGen/IslCodeGeneration.cpp4
-rw-r--r--polly/lib/CodeGen/LoopGenerators.cpp6
-rw-r--r--polly/lib/CodeGen/Utils.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp
index 401c005dc74..b80a25089ce 100644
--- a/polly/lib/CodeGen/IslCodeGeneration.cpp
+++ b/polly/lib/CodeGen/IslCodeGeneration.cpp
@@ -711,8 +711,8 @@ void IslNodeBuilder::createIf(__isl_take isl_ast_node *If) {
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 af0413749d6..05ab6207904 100644
--- a/polly/lib/CodeGen/LoopGenerators.cpp
+++ b/polly/lib/CodeGen/LoopGenerators.cpp
@@ -80,11 +80,11 @@ Value *polly::createLoop(Value *LB, Value *UB, Value *Stride,
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 c9b1d7199a8..87e3703edd6 100644
--- a/polly/lib/CodeGen/Utils.cpp
+++ b/polly/lib/CodeGen/Utils.cpp
@@ -60,7 +60,7 @@ BasicBlock *polly::executeScopConditionally(Scop &S, Pass *P, Value *RTC) {
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);
OpenPOWER on IntegriCloud