Implement TTI getUnrollingPreferences for PowerPC
authorHal Finkel <hfinkel@anl.gov>
Wed, 11 Sep 2013 21:20:40 +0000 (21:20 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 11 Sep 2013 21:20:40 +0000 (21:20 +0000)
commita5d756ca39c8566a0995a3f748812befe9021ef0
tree4c94cf0c00634571bd9f86e7487718e6fee02a6e
parent3373f3bb3f4d37a79a33351d1aa2b879b1fdb794
Implement TTI getUnrollingPreferences for PowerPC

The PowerPC A2 core greatly benefits from aggressive concatenation unrolling;
use the new getUnrollingPreferences to enable this by default when targeting
the PPC A2 core.

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