[AArch64] Enable partial & runtime unrolling on cortex-a57
authorKevin Qin <Kevin.Qin@arm.com>
Mon, 9 Mar 2015 06:14:28 +0000 (06:14 +0000)
committerKevin Qin <Kevin.Qin@arm.com>
Mon, 9 Mar 2015 06:14:28 +0000 (06:14 +0000)
commit40e66277f7daa2f5ce6f4f62b91c1a17e50df98c
treeab3c7b7b96692253ebb08ae743c5d4a9efb2a28d
parent994b4c784fa3d63c90b19fd48e522fc6ff3247e7
[AArch64] Enable partial & runtime unrolling on cortex-a57

For inner one of nested loops, it is more likely to be a hot loop,
and the runtime check can be promoted out from patch 0001, so the
overhead is less, we can try a doubled threshold to unroll more loops.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231632 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
test/Transforms/LoopUnroll/AArch64/lit.local.cfg [new file with mode: 0644]
test/Transforms/LoopUnroll/AArch64/partial.ll [new file with mode: 0644]
test/Transforms/LoopUnroll/AArch64/runtime-loop.ll [new file with mode: 0644]