summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/LoopGenerators.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-01-18 01:47:30 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-01-18 01:47:30 +0000
commit6adcf56b0f738f66f32b2cc70e9117049672db89 (patch)
treeaf096bf21f74e4107a766bc5f9d549b245b504e7 /polly/lib/CodeGen/LoopGenerators.cpp
parent5eee895ccf9bea773e3c01f8915a9fba106e4f3f (diff)
downloadbcm5719-llvm-6adcf56b0f738f66f32b2cc70e9117049672db89.tar.gz
bcm5719-llvm-6adcf56b0f738f66f32b2cc70e9117049672db89.zip
[PM] Update Polly for LLVM r226385 which made LoopInfo actually derive
from LoopInfoBase<...>, removing the need for the awkward getBase() dance. llvm-svn: 226387
Diffstat (limited to 'polly/lib/CodeGen/LoopGenerators.cpp')
-rw-r--r--polly/lib/CodeGen/LoopGenerators.cpp6
1 files changed, 3 insertions, 3 deletions
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.
OpenPOWER on IntegriCloud