aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorGuozhi Wei <carrot@google.com>2017-02-17 22:29:39 +0000
committerGuozhi Wei <carrot@google.com>2017-02-17 22:29:39 +0000
commit7ec2c72095649a67fe5b7e56fec29113650a2274 (patch)
tree611504a1d2baad9a3637c7fe8a5e431c3e5a41aa /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentbe37db1882d16e1a1554e079348301f6a6274834 (diff)
downloadllvm-7ec2c72095649a67fe5b7e56fec29113650a2274.zip
llvm-7ec2c72095649a67fe5b7e56fec29113650a2274.tar.gz
llvm-7ec2c72095649a67fe5b7e56fec29113650a2274.tar.bz2
[PPC] Give unaligned memory access lower cost on processor that supports it
Newer ppc supports unaligned memory access, it reduces the cost of unaligned memory access significantly. This patch handles this case in PPCTTIImpl::getMemoryOpCost. This patch fixes pr31492. Differential Revision: https://reviews.llvm.org/D28630 This is resubmit of r292680, which was reverted by r293092. The internal application failures were actually caused by a source code bug. llvm-svn: 295506
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions