[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)
commitdf8d0caab72214ae5619e5f6bce7a4bd8beb2dc4
tree30c02420df24dd357ba0056c56f2b7a5a03184ae
parentc2c435f95d6ef7a559131be4e663ac06f4f9aaf0
[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.

llvm-svn: 212705
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/vector-shuffle-128-v16.ll