diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-01-18 01:47:30 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-01-18 01:47:30 +0000 |
commit | 6adcf56b0f738f66f32b2cc70e9117049672db89 (patch) | |
tree | af096bf21f74e4107a766bc5f9d549b245b504e7 /polly/lib/CodeGen/IslCodeGeneration.cpp | |
parent | 5eee895ccf9bea773e3c01f8915a9fba106e4f3f (diff) | |
download | bcm5719-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/IslCodeGeneration.cpp')
-rw-r--r-- | polly/lib/CodeGen/IslCodeGeneration.cpp | 4 |
1 files changed, 2 insertions, 2 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(); |