tree-optimization/98180 - fix BIT_INSERT_EXPR sequence vectorization
authorRichard Biener <rguenther@suse.de>
Tue, 8 Dec 2020 08:42:35 +0000 (09:42 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 8 Dec 2020 08:44:19 +0000 (09:44 +0100)
commite844c04e35ca2fe9ee2f758a720dd37cbe81e7ef
tree5f22afafdab729d24354ba1820df497c458f4f0c
parentc1370f8c0d0760714fe77d55c1fa16045ffa69f2
tree-optimization/98180 - fix BIT_INSERT_EXPR sequence vectorization

This adds a missing check for the first inserted value.

2020-12-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/98180
* tree-vect-slp.c (vect_slp_check_for_constructors): Check the
first inserted value has a def.
gcc/tree-vect-slp.c