[X86][SSE] Move VZEXT_MOVL(INSERT_SUBVECTOR(UNDEF,X,0)) handling into combineTargetSh...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 16 Sep 2020 14:46:23 +0000 (15:46 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 16 Sep 2020 15:08:31 +0000 (16:08 +0100)
commitaa4b0b755a02d69f7f20fddf1d011b0f67a0d207
treec00c742b0b8bda68bf5ea7fd559b368a02c0be30
parentd9953d155493bf11a2276e202800f844a1d02396
[X86][SSE] Move VZEXT_MOVL(INSERT_SUBVECTOR(UNDEF,X,0)) handling into combineTargetShuffle.

Now that we're getting better at combining shuffles of different vector widths, this can now be performed as part of the standard target shuffle combines and isn't required for cleanup.

Exposed a minor issue in combineX86ShufflesRecursively where we failed to check if a shuffle's src ops were simple types.
llvm/lib/Target/X86/X86ISelLowering.cpp