]> granicus.if.org Git - llvm/commit
[x86] Teach the new vector shuffle lowering to fall back on AVX-512
authorChandler Carruth <chandlerc@gmail.com>
Sun, 28 Sep 2014 23:53:10 +0000 (23:53 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 28 Sep 2014 23:53:10 +0000 (23:53 +0000)
commitb61dfec8245743fb20cbee18dc41fb16a952404e
tree5d3e7262761f62a4d2cec0a057c448fe871dda1a
parent4f4280469cf68e6d4eb3ba4382b532fd0fe78b64
[x86] Teach the new vector shuffle lowering to fall back on AVX-512
vectors.

Someone will need to build the AVX512 lowering, which should follow
AVX1 and AVX2 *very* closely for AVX512F and AVX512BW resp. I've added
a dummy test which is a port of the v8f32 and v8i32 tests from AVX and
AVX2 to v8f64 and v8i64 tests for AVX512F and AVX512BW. Hopefully this
is enough information for someone to implement proper lowering here. If
not, I'll be happy to help, but right now the AVX-512 support isn't
a priority for me.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218583 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-shuffle-512-v8.ll [new file with mode: 0644]