[PATCH] D80477: [LoopUnroll] Support loop with multi exiting blocks
Whitney Tsang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 23 11:07:47 PDT 2020
Whitney created this revision.
Whitney added reviewers: dmgreen, jdoerfert, Meinersbur, kbarton, bmahjour, etiotto, fhahn.
Whitney added a project: LLVM.
Herald added subscribers: llvm-commits, zzheng, hiraditya.
Remove the limitation in LoopUnrollPass.
The current loop unroll pass can unroll loops with a single latch or header
that's a conditional branch exiting the loop.
Now it supports multi-exiting blocks, and also allow non header or latch exiting block.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80477
Files:
llvm/lib/Transforms/Utils/LoopUnroll.cpp
llvm/test/Transforms/LoopUnroll/nonlatchcondbr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80477.265876.patch
Type: text/x-patch
Size: 13261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200523/ccee33e5/attachment-0001.bin>
More information about the llvm-commits
mailing list