Add target-specific DAG combiner for BUILD_VECTOR and VMOVRRD. An i64
authorBob Wilson <bob.wilson@apple.com>
Fri, 17 Sep 2010 22:59:05 +0000 (22:59 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 17 Sep 2010 22:59:05 +0000 (22:59 +0000)
commit75f0288b7dff1fcb24d9d61ea3e9547ba21382e4
tree5091aa136523197a9f73e5a2185e09850c683355
parente6be85e9ff6bd28c599421a120a8491257c13ebd
Add target-specific DAG combiner for BUILD_VECTOR and VMOVRRD.  An i64
value should be in GPRs when it's going to be used as a scalar, and we use
VMOVRRD to make that happen, but if the value is converted back to a vector
we need to fold to a simple bit_convert.  Radar 8407927.

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