[x86] Add some important, missing test coverage for blending from one
authorChandler Carruth <chandlerc@gmail.com>
Fri, 3 Oct 2014 11:16:45 +0000 (11:16 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 3 Oct 2014 11:16:45 +0000 (11:16 +0000)
commitca77e5899373cb07a5aa01f19d3ad35ed14dba2c
tree49e5309289522cedb20a18abd42385d030b5e6ce
parent53bf81ae5973ba8ac185466746ece7bb5e0ae3da
[x86] Add some important, missing test coverage for blending from one
vector to a zero vector for the v2 cases and fix the v4 integer cases to
actually blend from a vector.

There are already seprate tests for the case of inserting from a scalar.

These cases cover a lot of the regressions I've seen in the regression
test suite for the new vector shuffle lowering and specifically cover
the reported lack of using various zext-ing instruction patterns. My
next patch should fix a big chunk of this, but wanted to get a nice
baseline for these patterns in the test cases first.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218976 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/vector-shuffle-128-v2.ll
test/CodeGen/X86/vector-shuffle-128-v4.ll