[PowerPC] Make PPCTTI::getMemoryOpCost call BasicTTI::getMemoryOpCost
authorHal Finkel <hfinkel@anl.gov>
Wed, 2 Apr 2014 22:43:49 +0000 (22:43 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 2 Apr 2014 22:43:49 +0000 (22:43 +0000)
commit1fb3df7a2e210e31ae111ecfaf704068061e140a
treee88f801a8828e2d0b6b1c84c4f280b519b380142
parent75cea2c73e348028cc082301ae7c8d7fe7ce1b57
[PowerPC] Make PPCTTI::getMemoryOpCost call BasicTTI::getMemoryOpCost

PPCTTI::getMemoryOpCost will now make use of BasicTTI::getMemoryOpCost to
calculate the base cost of the memory access, and then adjust on top of that.
There is no functionality change from this modification, but it will become
important so that PPCTTI can take advantage of scalarization information for which
BasicTTI::getMemoryOpCost will account in the near future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205476 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCTargetTransformInfo.cpp