]> granicus.if.org Git - llvm/commit
[ARM] Enable Unroll UpperBound
authorDavid Green <david.green@arm.com>
Mon, 10 Jun 2019 10:22:14 +0000 (10:22 +0000)
committerDavid Green <david.green@arm.com>
Mon, 10 Jun 2019 10:22:14 +0000 (10:22 +0000)
commitf5a0946e40f347ea8fbf919797f6737abab22158
treeccbb28b0e7ddf6bbbff2a9c997425ba1f726c059
parentde3f2979284de919a880ab4022fc46b315be823e
[ARM] Enable Unroll UpperBound

This option allows loops with small max trip counts to be fully unrolled. This
can help with code like the remainder loops from manually unrolled loops like
those that appear in the cmsis dsp library. We would apparently previously
runtime unroll them with the default unroll count (4).

Differential Revision: https://reviews.llvm.org/D63064

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362928 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMTargetTransformInfo.cpp
test/Transforms/LoopUnroll/ARM/upperbound.ll [new file with mode: 0644]