[ARM] Mark VMOV with immediate: isAsCheapAsMove.
authorQuentin Colombet <qcolombet@apple.com>
Wed, 13 Jan 2016 00:02:40 +0000 (00:02 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 13 Jan 2016 00:02:40 +0000 (00:02 +0000)
commitdab10b37356ae5eda7f837243f69422821ef887b
tree449cae6b7cef6cdf4b9ed4903a9228b29d6f8a0b
parent8634c66a7d66476403a0312631f316a31ff9dd78
[ARM] Mark VMOV with immediate: isAsCheapAsMove.
VMOVs are not strictly speaking cheap, but they are as expensive as a vector
copy (VORR), so we should prefer rematerialization over splitting when it
applies.

rdar://problem/23754176

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257545 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrNEON.td
test/CodeGen/ARM/zero-cycle-zero.ll