[x86] Teach the new vector shuffle lowering to lower v8i32 shuffles with
authorChandler Carruth <chandlerc@gmail.com>
Wed, 24 Sep 2014 01:24:44 +0000 (01:24 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 24 Sep 2014 01:24:44 +0000 (01:24 +0000)
commit6717f9d90741b7ab4c14c9f27e80b03121309ab1
tree7d669d2b35ab3e256b799b5b8ea04372c035f9bc
parent8415f84e49664d6427af58f15741f404a309ebd2
[x86] Teach the new vector shuffle lowering to lower v8i32 shuffles with
the native AVX2 instructions.

Note that the test case is really frustrating here because VPERMD
requires the mask to be in the register input and we don't produce
a comment looking through that to the constant pool. I'm going to
attempt to improve this in a subsequent commit, but not sure if I will
succeed.

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