Handle v2i64 BUILD_VECTOR custom lowering correctly. v2i64 is a legal type,
authorEvan Cheng <evan.cheng@apple.com>
Thu, 20 Apr 2006 00:11:39 +0000 (00:11 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 20 Apr 2006 00:11:39 +0000 (00:11 +0000)
commit72cd9a9439ceeb662a6a6c3665120b4aadf1b51b
tree135b5ac4758d7a6f57cb1fe26d2817b97df4fe3b
parent1014ab4470a01998677cff14456582dbf64b8635
Handle v2i64 BUILD_VECTOR custom lowering correctly. v2i64 is a legal type,
but i64 is not. If possible, change a i64 op to a f64 (e.g. load, constant)
and then cast it back.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27849 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp