[x86] Add another combine that is particularly useful for the new vector
authorChandler Carruth <chandlerc@gmail.com>
Thu, 10 Jul 2014 11:09:29 +0000 (11:09 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 10 Jul 2014 11:09:29 +0000 (11:09 +0000)
commita4e7f05a28d3454d63c5e3217b9ce6b72c741b82
treef8284f3005e25ca851d1b895a283567a5cceeb47
parent9aa8beb9d6b6324c8b79a5fb6df30ac822c4c991
[x86] Add another combine that is particularly useful for the new vector
shuffle lowering: match shuffle patterns equivalent to an unpcklwd or
unpckhwd instruction.

This allows us to use generic lowering code for v8i16 shuffles and match
the unpack pattern late.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212705 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-shuffle-128-v16.ll