OSDN Git Service

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)
commit636a9bece43b3f10c27fb1260467fdc3cf989ea1
tree98aa2113488bfc1d5ddd5776ff4cc7a3d45fe80d
parentb7f1fb47e67af99d65dd1afc55910c8f19b5ec8e
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211435 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeTypes.h
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
test/CodeGen/X86/vec_split.ll