[PATCH] D63923: [Loop Peeling] Enable peeling for loops with multiple exits
Serguei Katkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 03:08:04 PDT 2019
skatkov created this revision.
skatkov added reviewers: reames, mkuper, iajbar, fhahn.
Herald added a subscriber: zzheng.
This CL enables peeling of the loop with multiple exits where
one exit should be from latch and others are basic blocks with
call to deopt.
The peeling is enabled under the flag which is false by default.
https://reviews.llvm.org/D63923
Files:
include/llvm/Transforms/Utils/LoopUtils.h
lib/Transforms/Utils/LoopUnrollPeel.cpp
lib/Transforms/Utils/LoopUtils.cpp
test/Transforms/LoopUnroll/peel-loop-pgo-deopt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63923.207021.patch
Type: text/x-patch
Size: 6505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190628/027a159b/attachment.bin>
More information about the llvm-commits
mailing list