Changes

Summary

  1. [X86] Add test case for missed opportunity to recognize a vXi1 shuffle (details)
  2. [X86] Teach lower1BitShuffle to recognize padding a subvector with zeros (details)
Commit c9ee4c7c2207e48c5afaf4de7e2cb241a6837681 by craig.topper
[X86] Add test case for missed opportunity to recognize a vXi1 shuffle
as an insert into a zero vector.
We are currently missing this because shuffle canonicalization puts the
zero vector as V1 and the subvector as V2. Our current code doesn't
recognize this case.
llvm-svn: 369225
The file was modifiedllvm/test/CodeGen/X86/avx512-skx-insert-subvec.ll
Commit 2eb7951da39287ff12be9def2f0b08535c25a799 by craig.topper
[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.
llvm-svn: 369226
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-skx-insert-subvec.ll