[ARM] Move the implementation of the target hooks related to copy-related
authorQuentin Colombet <qcolombet@apple.com>
Fri, 22 Aug 2014 18:05:22 +0000 (18:05 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Fri, 22 Aug 2014 18:05:22 +0000 (18:05 +0000)
commitc3f2ad087923d6570f0e3a6ea1e004a892a5ef15
tree4d16ad1b77d384994838ecf3111808f40cba1a57
parent5939f08f5e7aa84fa154136a7977969c176a057e
[ARM] Move the implementation of the target hooks related to copy-related
instruction from ARMInstrInfo to ARMBaseInstrInfo.
That way, thumb mode can also benefit from the advanced copy optimization.

<rdar://problem/12702965>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216274 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMBaseInstrInfo.h
lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/ARM/ARMInstrInfo.h
test/CodeGen/ARM/adv-copy-opt.ll