[x86] Teach both sext and zext vector tests to cover a nice wide range
authorChandler Carruth <chandlerc@gmail.com>
Wed, 1 Oct 2014 20:41:36 +0000 (20:41 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 1 Oct 2014 20:41:36 +0000 (20:41 +0000)
commit3916c2642dcb23dff419ab1f8d998cfcf411b19b
tree64ac00cbdf4244a1764d35b2dc0eadfe95a25593
parentc9038d9c1b72b0b0b22cc6d972a9b45ca4efc6a2
[x86] Teach both sext and zext vector tests to cover a nice wide range
of architectures: SSE2, SSSE3, SSE4.1, AVX, and AVX2.

Unfortunately, this exposses the absolute horror of the code we generate
for many of these patterns. Anyone wanting to familiarize themselves
with the x86 backend and improve performance could do a lot of good
sitting down and making these test cases not look so terrible. While the
new vector shuffle code I'm working on well help some, it won't fix all
of the crimes here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218807 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/vector-sext.ll
test/CodeGen/X86/vector-zext.ll