diff options
Diffstat (limited to 'polly/lib/CodeGen/Utils.cpp')
-rw-r--r-- | polly/lib/CodeGen/Utils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/Utils.cpp b/polly/lib/CodeGen/Utils.cpp index c4ace6c19e2..1e648655a1e 100644 --- a/polly/lib/CodeGen/Utils.cpp +++ b/polly/lib/CodeGen/Utils.cpp @@ -23,7 +23,8 @@ BasicBlock *polly::executeScopConditionally(Scop &S, Pass *PassInfo) { BasicBlock *StartBlock, *SplitBlock, *NewBlock; Region &R = S.getRegion(); IRBuilder<> Builder(R.getEntry()); - DominatorTree &DT = PassInfo->getAnalysis<DominatorTree>(); + DominatorTree &DT = + PassInfo->getAnalysis<DominatorTreeWrapperPass>().getDomTree(); RegionInfo &RI = PassInfo->getAnalysis<RegionInfo>(); // Split the entry edge of the region and generate a new basic block on this |