[X86] collectConcatOps - add ability to collect from vector 'widening' patterns
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 27 Apr 2022 14:29:03 +0000 (15:29 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 27 Apr 2022 14:38:58 +0000 (15:38 +0100)
commit03482bccad33274c74b385fc139bbb25be156543
tree3aaf2dfa6bb7920082e52996f6c4ad9bd75a3d08
parent46cef9a82df8d4029ef409cf1fd0329e8c1696e3
[X86] collectConcatOps - add ability to collect from vector 'widening' patterns

Recognise insert_subvector(undef, x, lo/hi) patterns where we double the width of a vector - creating an UNDEF subvector on the fly.
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/oddshuffles.ll
llvm/test/CodeGen/X86/oddsubvector.ll
llvm/test/CodeGen/X86/pr11334.ll