OSDN Git Service

[x86] Move the vector popcount tests into non-ISA files, and instead
authorChandler Carruth <chandlerc@gmail.com>
Thu, 28 May 2015 22:46:48 +0000 (22:46 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 28 May 2015 22:46:48 +0000 (22:46 +0000)
commitb78a66659b1d42c4b272a46438833ae75eb95444
tree8492ecf3e6ba2e4e0795425fd42de890007a97d1
parent3682046086d97886126710aa83324ba3b3830e5f
[x86] Move the vector popcount tests into non-ISA files, and instead
organize them by the width of vector.

This makes it a lot easier to see that we're covering all of the vector
types but not doing so excessively. This also adds tests across the
spectrum of SSE versions in addition to the AVX versions.

If you're really tired of seeing the *massive* sprawl of scalarized code
for this, don't worry, I'm just about to land Bruno's patch that
dramatically improve the situation for SSSE3 and newer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238520 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/avx-popcnt.ll [deleted file]
test/CodeGen/X86/avx2-popcnt.ll [deleted file]
test/CodeGen/X86/vector-popcnt-128.ll [new file with mode: 0644]
test/CodeGen/X86/vector-popcnt-256.ll [new file with mode: 0644]