[ARM] Enable UpperBound unrolling for all loops
authorDavid Green <david.green@arm.com>
Wed, 24 Mar 2021 16:39:21 +0000 (16:39 +0000)
committerDavid Green <david.green@arm.com>
Wed, 24 Mar 2021 16:39:21 +0000 (16:39 +0000)
commit14b2ec934ed88642b11319704ea9b7465c4234ad
tree44a1c392b4a27f305405f4aa22b97cdd331ccf2a
parenta8708708cf8bf1f90fd5262c14cc12035a8dea0b
[ARM] Enable UpperBound unrolling for all loops

This UpperBound unrolling was already enabled so long as a series of
conditions in ARMTTIImpl::getUnrollingPreferences pass. This just always
enables it as it can help fully unroll loops that would not otherwise
pass those tests.

Differential Revision: https://reviews.llvm.org/D99174
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/test/Transforms/LoopUnroll/ARM/upperbound.ll