]> granicus.if.org Git - llvm/commit
[X86][AVX] Pull out some INSERT_SUBVECTOR combines into a combineConcatVectorOps...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 27 Feb 2019 18:46:32 +0000 (18:46 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 27 Feb 2019 18:46:32 +0000 (18:46 +0000)
commitf41945dfb9dc35cdca059177ab0a6cc8a854c98f
treeb13744e9cf7711d5ae6a511192acff744a1b2662
parentce64e29e1fbbea2eaa2c5db39f3c2e625ad354b9
[X86][AVX] Pull out some INSERT_SUBVECTOR combines into a combineConcatVectorOps helper. NFCI

A lot of the INSERT_SUBVECTOR combines can be more generally handled as if they have come from a CONCAT_VECTORS node.

I've been investigating adding a CONCAT_VECTORS combine to X86, but this is a much easier first step that avoids the issue of handling a number of pre-legalization issues that I've encountered.

Differential Revision: https://reviews.llvm.org/D58583

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355015 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp