[PATCH] D108476: [runtimeunroll] Support epilogue unrolling with a parent loop

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 20 11:02:33 PDT 2021


reames created this revision.
reames added reviewers: nikic, fhahn, anna.
Herald added subscribers: zzheng, bollu, hiraditya, mcrosier.
reames requested review of this revision.
Herald added a project: LLVM.

This patch adds support for unrolling inner loops using epilogue unrolling.  Specifically, it handles the case where we use a remainder *loop*.  If we use a remainder *block* (e.g. break the backedge when Count == 2), there's more work needed so that case is excluded from this patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108476

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108476.367836.patch
Type: text/x-patch
Size: 16235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210820/e4390ac8/attachment.bin>


More information about the llvm-commits mailing list