tree-optimization/92260 - improve fix
authorRichard Biener <rguenther@suse.de>
Fri, 15 May 2020 09:14:53 +0000 (11:14 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 15 May 2020 11:54:32 +0000 (13:54 +0200)
commit584a3c080bbd6e64131fa53771c7424bcf9d21fa
treeadacc7be3b6e128a5530b6c5e8354a041a509316
parentf8e1c0c01823b6d0b20f44c0f218e1798c2ff3b4
tree-optimization/92260 - improve fix

This improves the fix for PR92260 changing the number of vector
computation to the canonical one, not needing to look at the
using stmt.

2020-05-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92260
* tree-vect-slp.c (vect_get_constant_vectors): Compute
the number of vector stmts in a canonical way.
gcc/ChangeLog
gcc/tree-vect-slp.c