From 6adcf56b0f738f66f32b2cc70e9117049672db89 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sun, 18 Jan 2015 01:47:30 +0000 Subject: [PM] Update Polly for LLVM r226385 which made LoopInfo actually derive from LoopInfoBase<...>, removing the need for the awkward getBase() dance. llvm-svn: 226387 --- polly/lib/CodeGen/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'polly/lib/CodeGen/Utils.cpp') 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); -- cgit v1.2.3