[X86] Don't count the chain uses when forming broadcast loads in lowerBuildVectorAsBr...
authorCraig Topper <craig.topper@gmail.com>
Tue, 3 Mar 2020 06:28:43 +0000 (22:28 -0800)
committerCraig Topper <craig.topper@gmail.com>
Tue, 3 Mar 2020 16:41:31 +0000 (08:41 -0800)
commit68aeaab888094fa192bf9257ffd5929b93778a70
tree0eec196c8aaeeb8c9122d02ac31cf43807b2852c
parent383e3ec1b2ade6c5cd473de8b8edfa98ad595aef
[X86] Don't count the chain uses when forming broadcast loads in lowerBuildVectorAsBroadcast.

The build_vector needs to be the only user of the data, but the
chain will likely have another use. So we can't make sure the
build_vector is the only user of the node.
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/pr35443.ll