[X86] Custom lower CONCAT_VECTORS of v2i1
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 28 May 2019 12:52:57 +0000 (12:52 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 28 May 2019 12:52:57 +0000 (12:52 +0000)
commit57e267a2e92a7744df043c740cb946952c05ede8
tree1edd5fee3b9af9256b739fada22571be37c3560c
parent19e91253c0a5e021697f9271c299d6816cbab642
[X86] Custom lower CONCAT_VECTORS of v2i1

The generic legalizer cannot handle this. Add an assert instead of
silently miscompiling vectors with elements smaller than 8 bits.

llvm-svn: 361814
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/avx512-insert-extract.ll
llvm/test/CodeGen/X86/vec_saddo.ll
llvm/test/CodeGen/X86/vec_smulo.ll
llvm/test/CodeGen/X86/vec_ssubo.ll
llvm/test/CodeGen/X86/vec_uaddo.ll
llvm/test/CodeGen/X86/vec_umulo.ll
llvm/test/CodeGen/X86/vec_usubo.ll