diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-01-19 12:37:33 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-01-19 12:37:33 +0000 |
| commit | 62975f55c8baff1aff8ad9ceb55814b90602afb4 (patch) | |
| tree | 78191d54d0d26aa17aa86225e50de9ac355a2b01 /polly/lib/CodeGen | |
| parent | d450056c781d37a48ebc788af09d2465bafb9f88 (diff) | |
| download | bcm5719-llvm-62975f55c8baff1aff8ad9ceb55814b90602afb4.tar.gz bcm5719-llvm-62975f55c8baff1aff8ad9ceb55814b90602afb4.zip | |
[PM] Update Polly for LLVM r226459 which removed another pass argument
from an API in the process of preparing for the new pass manager.
llvm-svn: 226460
Diffstat (limited to 'polly/lib/CodeGen')
| -rw-r--r-- | polly/lib/CodeGen/Utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/CodeGen/Utils.cpp b/polly/lib/CodeGen/Utils.cpp index 87e3703edd6..d6492ffb413 100644 --- a/polly/lib/CodeGen/Utils.cpp +++ b/polly/lib/CodeGen/Utils.cpp @@ -30,7 +30,7 @@ BasicBlock *polly::executeScopConditionally(Scop &S, Pass *P, Value *RTC) { // Split the entry edge of the region and generate a new basic block on this // edge. This function also updates ScopInfo and RegionInfo. - NewBlock = SplitEdge(R.getEnteringBlock(), R.getEntry(), P); + NewBlock = SplitEdge(R.getEnteringBlock(), R.getEntry(), &DT, &LI); if (DT.dominates(R.getEntry(), NewBlock)) { BasicBlock *OldBlock = R.getEntry(); std::string OldName = OldBlock->getName(); @@ -71,7 +71,7 @@ BasicBlock *polly::executeScopConditionally(Scop &S, Pass *P, Value *RTC) { // PHI nodes that would complicate life. MergeBlock = R.getExit(); else { - MergeBlock = SplitEdge(R.getExitingBlock(), R.getExit(), P); + MergeBlock = SplitEdge(R.getExitingBlock(), R.getExit(), &DT, &LI); // SplitEdge will never split R.getExit(), as R.getExit() has more than // one predecessor. Hence, mergeBlock is always a newly generated block. R.replaceExitRecursive(MergeBlock); |

