]> granicus.if.org Git - llvm/commit
[X86] Teach lower1BitShuffle to recognize padding a subvector with zeros with V2...
authorCraig Topper <craig.topper@intel.com>
Mon, 19 Aug 2019 00:39:22 +0000 (00:39 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 19 Aug 2019 00:39:22 +0000 (00:39 +0000)
commit8d8abdc2bdc9be2c918363274234618d988b0dab
treefe48d875e7ed90dba5985f2a4c3a4297801d24b2
parent1bf17233759878ccdef80939233d432f356410e6
[X86] Teach lower1BitShuffle to recognize padding a subvector with zeros with V2 as the source and V1 as the zero vector.

Shuffle canonicalization can swap the sources so the zero vector
might be V1 and the subvector that's being padded can be V2.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369226 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx512-skx-insert-subvec.ll