[PATCH] D38952: [ARM] Allow unrolling on multi-block loops.

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 06:18:25 PDT 2017


samparker created this revision.
Herald added subscribers: kristof.beyls, javed.absar, aemerson.

Before, loop unrolling was only enabled for loops with a single block. This restriction has been removed and replaced by:

- allow a maximum of two exiting blocks,
- a four basic block limit for cores with a branch predictor.


https://reviews.llvm.org/D38952

Files:
  lib/Target/ARM/ARMTargetTransformInfo.cpp
  test/Transforms/LoopUnroll/ARM/multi-blocks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38952.119148.patch
Type: text/x-patch
Size: 14558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171016/5a08b811/attachment.bin>


More information about the llvm-commits mailing list