summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/Utils.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/Utils.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/Utils.cpp')
-rw-r--r--polly/lib/CodeGen/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
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