OSDN Git Service

[ARM] Return true in enableMultipleCopyHints().
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Fri, 16 Feb 2018 09:51:01 +0000 (09:51 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Fri, 16 Feb 2018 09:51:01 +0000 (09:51 +0000)
commita596a56b2320aec272758d15d3c65887465b3d7b
tree69c21a429b1bb58e39800f6ed8a53eb4be2b4caa
parent053d9bfd93a7e9eadd61127aca6d3dfdb41d1b02
[ARM]  Return true in enableMultipleCopyHints().

Enable multiple COPY hints to eliminate more COPYs during register allocation.

Note that this is something all targets should do, see
https://reviews.llvm.org/D38128.

Review: Eli Friedman

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325327 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseRegisterInfo.h
test/CodeGen/ARM/longMAC.ll
test/CodeGen/ARM/select_xform.ll
test/CodeGen/ARM/struct_byval_arm_t1_t2.ll
test/CodeGen/ARM/swifterror.ll
test/CodeGen/Thumb/long.ll
test/CodeGen/Thumb2/aapcs.ll
test/CodeGen/Thumb2/thumb2-select_xform.ll