summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/LoopGenerators.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-01-13 22:29:56 +0000
committerTobias Grosser <tobias@grosser.es>2014-01-13 22:29:56 +0000
commit42aff30dbc698f33a0a6be143ea77810aa8abb65 (patch)
tree27bd9f14a25a6789587729bf858cde90659fc113 /polly/lib/CodeGen/LoopGenerators.cpp
parent0c306ba08c69480f2f196ea021e2f89aae1d35ef (diff)
downloadbcm5719-llvm-42aff30dbc698f33a0a6be143ea77810aa8abb65.tar.gz
bcm5719-llvm-42aff30dbc698f33a0a6be143ea77810aa8abb65.zip
Adapt to DomTree changes in r199104
llvm-svn: 199157
Diffstat (limited to 'polly/lib/CodeGen/LoopGenerators.cpp')
-rw-r--r--polly/lib/CodeGen/LoopGenerators.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp
index c7ab71a8be1..fcfd916c3e5 100644
--- a/polly/lib/CodeGen/LoopGenerators.cpp
+++ b/polly/lib/CodeGen/LoopGenerators.cpp
@@ -50,7 +50,7 @@ Value *polly::createLoop(Value *LB, Value *UB, Value *Stride,
IRBuilder<> &Builder, Pass *P, BasicBlock *&ExitBB,
ICmpInst::Predicate Predicate) {
- DominatorTree &DT = P->getAnalysis<DominatorTree>();
+ DominatorTree &DT = P->getAnalysis<DominatorTreeWrapperPass>().getDomTree();
LoopInfo &LI = P->getAnalysis<LoopInfo>();
Function *F = Builder.GetInsertBlock()->getParent();
LLVMContext &Context = F->getContext();
@@ -279,7 +279,7 @@ Value *OMPGenerator::createSubfunction(Value *Stride, Value *StructData,
CheckNextBB = BasicBlock::Create(Context, "omp.checkNext", FN);
LoadIVBoundsBB = BasicBlock::Create(Context, "omp.loadIVBounds", FN);
- DominatorTree &DT = P->getAnalysis<DominatorTree>();
+ DominatorTree &DT = P->getAnalysis<DominatorTreeWrapperPass>().getDomTree();
DT.addNewBlock(HeaderBB, PrevBB);
DT.addNewBlock(ExitBB, HeaderBB);
DT.addNewBlock(CheckNextBB, HeaderBB);
OpenPOWER on IntegriCloud