[X86] Simplify LowerBITCAST code for v2i32/v4i16/v8i8/i64->mmx/i64/f64 bitcast.
authorCraig Topper <craig.topper@intel.com>
Sun, 2 Dec 2018 07:52:39 +0000 (07:52 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 2 Dec 2018 07:52:39 +0000 (07:52 +0000)
commit204e4110e0680747ddfb091908e717372a297134
tree2560ddf5832aa4a2d1e4496377dcc6a68b8422ea
parent4bb077910aab43e9f4905475e66faa1f2bd75d24
[X86] Simplify LowerBITCAST code for v2i32/v4i16/v8i8/i64->mmx/i64/f64 bitcast.

Previously this code generated its own extracts and build_vector. But we can use a simpler concat_vectors or scalar_to_vector operation and let type legalization do additional legalization of those operations.

llvm-svn: 348087
llvm/lib/Target/X86/X86ISelLowering.cpp