OSDN Git Service

[X86][AVX] Support shuffle combining for VBROADCAST with smaller vector sources
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 3 Feb 2019 16:51:33 +0000 (16:51 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 3 Feb 2019 16:51:33 +0000 (16:51 +0000)
commit39a2370f4eb11e377373be8b87bd41a34761b24a
treebadfed636b02e9b2e3e563b141ffcb13dfe8a492
parentcf5cc9f6fab0c8ac23004d2545e9d193ae2f7941
[X86][AVX] Support shuffle combining for VBROADCAST with smaller vector sources

getTargetShuffleMask can only do this safely if we're extracting the lowest subvector from a vector of the same result type.

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