[PATCH] D99588: [ARM] Allow v6m runtime loop unrolling

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 30 06:30:53 PDT 2021


dmgreen created this revision.
dmgreen added reviewers: NickGuy, SjoerdMeijer, efriedma, simon_tatham, samparker.
Herald added subscribers: danielkiss, zzheng, hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.

This removes the restriction that only Thumb2 targets enable runtime loop unrolling, allowing it for Thumb1 only cores as well. The existing T2 heuristics are used (for the time being) to control when and how unrolling is performed.


https://reviews.llvm.org/D99588

Files:
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/test/Transforms/LoopUnroll/ARM/loop-unrolling.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99588.334117.patch
Type: text/x-patch
Size: 13113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210330/c1ffb5fe/attachment.bin>


More information about the llvm-commits mailing list