]> granicus.if.org Git - llvm/commit
[RuntimeUnrolling] Update DomTree correctly when exit blocks have successors
authorAnna Thomas <anna@azul.com>
Thu, 13 Jul 2017 13:21:23 +0000 (13:21 +0000)
committerAnna Thomas <anna@azul.com>
Thu, 13 Jul 2017 13:21:23 +0000 (13:21 +0000)
commitd9184f5e73357879cafcc141c03cefb2e44c5d7d
tree8c827d7550e70ae4b7be51cc5d860a5cc202b197
parent892ccd7f071ccad24610114cbe2e467310d7db71
[RuntimeUnrolling] Update DomTree correctly when exit blocks have successors

Summary:
When we runtime unroll with multiple exit blocks, we also need to update the
immediate dominators of the immediate successors of the exit blocks.

Reviewers: reames, mkuper, mzolotukhin, apilipenko

Reviewed by: mzolotukhin

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D35304

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307909 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LoopUnrollRuntime.cpp
test/Transforms/LoopUnroll/runtime-loop-multiexit-dom-verify.ll [new file with mode: 0644]