]> granicus.if.org Git - llvm/commit
[X86] Move a transform out of combineConcatVectorOps so we don't prematurely turn...
authorCraig Topper <craig.topper@intel.com>
Fri, 23 Aug 2019 19:52:24 +0000 (19:52 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 23 Aug 2019 19:52:24 +0000 (19:52 +0000)
commit8e18167e8a145eb9d50bf91f0916dfa5a6a3f9ef
treea1c8fad8bc6f14eb41e21bebde631a1826864919
parent3c86da6120d23492f163782a1a37897e1d49017e
[X86] Move a transform out of combineConcatVectorOps so we don't prematurely turn CONCAT_VECTORS into INSERT_SUBVECTORS.

CONCAT_VECTORS and INSERT_SUBVECTORS can both call combineConcatVectorOps,
but we shouldn't produce INSERT_SUBVECTORS from there. We should
keep CONCAT_VECTORS until vector legalization.

Noticed while looking at the madd_quad_reduction test from madd.ll

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