[PATCH] D35304: [RuntimeLoopUnrolling] Update DomTree correctly when exit blocks have successors

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 06:55:15 PDT 2017


anna created this revision.

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


https://reviews.llvm.org/D35304

Files:
  lib/Transforms/Utils/LoopUnrollRuntime.cpp
  test/Transforms/LoopUnroll/runtime-loop-multiexit-dom-verify.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35304.106200.patch
Type: text/x-patch
Size: 7795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170712/3916ef67/attachment.bin>


More information about the llvm-commits mailing list