]> granicus.if.org Git - llvm/commit
[X86][AVX] Handle lane-crossing shuffle(extract_subvector(x,c1),extract_subvector...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 15 Jun 2019 18:30:43 +0000 (18:30 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 15 Jun 2019 18:30:43 +0000 (18:30 +0000)
commit170bbaa5a54e2da4c02c47104921bad5ee64a4d1
tree69095a1e9471f44a3f820a5443cf70a71900c743
parent2720bd6686713de365b97d8c19776552c50979f9
[X86][AVX] Handle lane-crossing shuffle(extract_subvector(x,c1),extract_subvector(y,c2),m1) shuffles

Pull out the existing (non)lane-crossing fold into a helper lambda and use for lane-crossing unary shuffles as well.

Fixes PR34380

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