[PATCH] D33001: [RuntimeUnrolling] Add logic for loops with multiple exit blocks

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 13:57:24 PDT 2017


anna updated this revision to Diff 104265.
anna added a comment.

Addressed review comments. Now we no longer clone the loop exits, but generate the edges to the original loop exits
and canonicalize to dedicated loop exits afterwards.
This automatically helps support other loop exits having successors, so that restriction is removed.
Added one more test case to verify exits having successors.


https://reviews.llvm.org/D33001

Files:
  lib/Transforms/Utils/LoopUnrollRuntime.cpp
  test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33001.104265.patch
Type: text/x-patch
Size: 15114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170627/273aed9d/attachment.bin>


More information about the llvm-commits mailing list