OSDN Git Service

Support for the special case of a vector with the canonical form:
authorBill Wendling <isanbard@gmail.com>
Tue, 24 Apr 2007 21:16:55 +0000 (21:16 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 24 Apr 2007 21:16:55 +0000 (21:16 +0000)
commit2f9bb1a0a47622d959ec0cee25a7346c55066817
tree8b8db09486bc8fb03c086f391bb49d31ae08b0c5
parent95b39550344bad0d15d1ffa7afc300eb1533ed19
Support for the special case of a vector with the canonical form:

        vector_shuffle v1, v2, <2, 6, 3, 7>

I.e.

         vector_shuffle v, undef, <2, 2, 3, 3>

MMX only has a shuffle for v4i16 vectors. It needs to use the unpackh for
this type of operation.

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