[AArch64] Prefer DUP/MOV ("CPY") to INS for vector_extract.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 2 Feb 2015 17:55:57 +0000 (17:55 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 2 Feb 2015 17:55:57 +0000 (17:55 +0000)
commit0f1a21bcb8c51df494a58f519df9fc901bff585d
tree6f114e84eaf00a1971d986dde932a83fb991fb0d
parent5fc4d409c6ca87b02fb2208c2a44ddb16aa4ff62
[AArch64] Prefer DUP/MOV ("CPY") to INS for vector_extract.

This avoids a partial false dependency on the previous content of
the upper lanes of the destination vector register.

Differential Revision: http://reviews.llvm.org/D7307

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227820 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrInfo.td
test/CodeGen/AArch64/arm64-fixed-point-scalar-cvt-dagcombine.ll
test/CodeGen/AArch64/arm64-neon-copy.ll
test/CodeGen/AArch64/fp16-v8-instructions.ll
test/CodeGen/AArch64/neon-scalar-copy.ll