OSDN Git Service

[X86] Simplify the LowerAVXCONCAT_VECTORS code a little by creating a single path...
authorCraig Topper <craig.topper@intel.com>
Tue, 13 Mar 2018 22:36:07 +0000 (22:36 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 13 Mar 2018 22:36:07 +0000 (22:36 +0000)
commit0ae4561211a6230012b929576c74ea8b34e8e9e0
treebf11571b3b8cccc07a987a54049e30cfaee7944e
parent597af6522cad1774bd5d946ea677e3239bb690b0
[X86] Simplify the LowerAVXCONCAT_VECTORS code a little by creating a single path for insert_subvector handling.

We now only create recursive concats if we have more than two non-zero values. This keeps our subvector broadcast DAG combine functioning.

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