[x86] Fix the v16i16 blend logic I added in the prior commit and add the
authorChandler Carruth <chandlerc@gmail.com>
Thu, 25 Sep 2014 01:13:38 +0000 (01:13 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 25 Sep 2014 01:13:38 +0000 (01:13 +0000)
commitef673b3c731536b89c1534c4b72d3b30fd6c4efd
tree655a322c6f95e5c34e1246cd3d13d2baf21b9c79
parentaacc919bfd62dd0503f394326f458dfbe39218f8
[x86] Fix the v16i16 blend logic I added in the prior commit and add the
missing test cases for it.

Unsurprisingly, without test cases, there were bugs here. Surprisingly,
this bug wasn't caught at compile time. Yep, there is an X86ISD::BLENDV.
It isn't wired to anything. Oops. I'll fix than next.

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