[PowerPC] [Constant Hoisting] Enable constant hoisting on PPC
authorHal Finkel <hfinkel@anl.gov>
Sun, 13 Apr 2014 23:02:40 +0000 (23:02 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sun, 13 Apr 2014 23:02:40 +0000 (23:02 +0000)
commitb9ed50cf1772205b5a8f3ce2b604d01f9335e360
tree17d3c2f17dd1a6fad300c04a50827e71dd15bdbd
parenta94a6829c145658c8afb717285206aea81a83c5f
[PowerPC] [Constant Hoisting] Enable constant hoisting on PPC

Implements the various TTI functions to enable constant hoisting on PPC. The
only significant test-suite change is this:

MultiSource/Benchmarks/VersaBench/bmm/bmm - 20% speedup
(which essentially reverses the slowdown from r206120).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206141 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
test/Transforms/ConstantHoisting/PowerPC/const-base-addr.ll [new file with mode: 0644]
test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg [new file with mode: 0644]
test/Transforms/ConstantHoisting/PowerPC/masks.ll [new file with mode: 0644]