OSDN Git Service

[PowerPC] Return true in enableMultipleCopyHints().
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 31 Jan 2018 09:26:51 +0000 (09:26 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 31 Jan 2018 09:26:51 +0000 (09:26 +0000)
commit6ac1c6ccf1f8aedc6d8af4afc3b469f433bff1dc
tree6cab89ce08cc71fe5e85fb7039a0b712c3462c8b
parentdbea76e0ee1ebfe69be2b9d0385f66299f1fb8c3
[PowerPC]  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: Nemanja Ivanovic

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323858 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCRegisterInfo.h
test/CodeGen/PowerPC/licm-tocReg.ll
test/CodeGen/PowerPC/load-two-flts.ll
test/CodeGen/PowerPC/ppc64-byval-align.ll
test/CodeGen/PowerPC/select-i1-vs-i1.ll