[ARM] When a bitcast is about to be turned into a VMOVDRR, try to combine it
authorQuentin Colombet <qcolombet@apple.com>
Fri, 4 Dec 2015 01:53:14 +0000 (01:53 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Fri, 4 Dec 2015 01:53:14 +0000 (01:53 +0000)
commitc445f0fb72e9028e9ec92924025317c70b667359
treef917cd5e12e43020460a0c194210f3b260e6029b
parent7adbf112c7e68bbd8cda3315eb3d831426401987
[ARM] When a bitcast is about to be turned into a VMOVDRR, try to combine it
with its source instead of forcing the values on GPRs.

This improves the lowering of vector code when such bitcasts happen in the
middle of vector computations.

rdar://problem/23691584

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254684 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/combine-vmovdrr.ll [new file with mode: 0644]