[PATCH] D56449: [UnrollRuntime] Support multi-exiting blocks to LatchExit
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 8 12:43:19 PST 2019
anna created this revision.
anna added reviewers: reames, dmgreen, mkazantsev, mzolotukhin.
Herald added a subscriber: zzheng.
This patch implements runtime unrolling for multi-exit loops where
there are multiple exiting blocks that go to the latchExit.
This requires updating the ConnectProlog and ConnectEpilog code.
For this patch, the implementation is only for remainder code which is
prolog code. Added test cases for various scenarios.
No DT or LI changes required.
Repository:
rL LLVM
https://reviews.llvm.org/D56449
Files:
lib/Transforms/Utils/LoopUnrollRuntime.cpp
test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56449.180719.patch
Type: text/x-patch
Size: 60442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190108/f1fb8523/attachment.bin>
More information about the llvm-commits
mailing list