[x86] Teach the new vector shuffle lowering to also use pmovzx for v4i32
authorChandler Carruth <chandlerc@gmail.com>
Fri, 19 Sep 2014 08:37:44 +0000 (08:37 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 19 Sep 2014 08:37:44 +0000 (08:37 +0000)
commitec1f7b1c870d2b8121472c223833edc2fa103a87
tree812bdd76e7f18e2196c54cb2bdbb337e08978e3c
parent42b96889d1bace109cc1d09e06afacc3387a9e31
[x86] Teach the new vector shuffle lowering to also use pmovzx for v4i32
shuffles that are zext-ing.

Not a lot to see here; the undef lane variant is better handled with
pshufd, but this improves the actual zext pattern.

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