Legalizer: Add support for splitting insert_subvectors.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 21 Jun 2014 12:56:42 +0000 (12:56 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 21 Jun 2014 12:56:42 +0000 (12:56 +0000)
commitb7f5fb5751eb112e41a64a8cc1b74e637e590b7a
tree3bf6c24c435e351a0817b682e0c44e46f2f9dab9
parentd46e4a230344c78160f8c08431dfe19d3e6582ce
Legalizer: Add support for splitting insert_subvectors.

We handle this by spilling the whole thing to the stack and doing the
insertion as a store.

PR19492. This happens in real code because the vectorizer creates v2i128 when AVX is enabled.

llvm-svn: 211435
llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/test/CodeGen/X86/vec_split.ll