OSDN Git Service

[ARM] Enable partial and runtime unrolling
authorSam Parker <sam.parker@arm.com>
Tue, 25 Jul 2017 08:51:30 +0000 (08:51 +0000)
committerSam Parker <sam.parker@arm.com>
Tue, 25 Jul 2017 08:51:30 +0000 (08:51 +0000)
commite46d723b1260bc26c601e3e7e677c024d41331a8
tree391edf462e3532596eea64c15c5f678f04aad6b3
parent9319e27ba72a0191afe1b62eaf8fcd60f9a85df1
[ARM] Enable partial and runtime unrolling

Enable runtime and partial loop unrolling of simple loops without
calls on M-class cores. The thresholds are calculated based on
whether the target is Thumb or Thumb-2.

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

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