tree-optimization/98393 - properly init matches when failing SLP
authorRichard Biener <rguenther@suse.de>
Mon, 4 Jan 2021 10:22:24 +0000 (11:22 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 4 Jan 2021 11:13:44 +0000 (12:13 +0100)
commit0926259f9fc21a7f1e09f45f8aede156ef249585
tree156be65230edd3d40810884c4e0e940ce09b0710
parenta40718b5fc8bd698bdf48fc3f6187ac9eb615f35
tree-optimization/98393 - properly init matches when failing SLP

This zeroes matches when failing SLP discovery because of the
work limit.

2021-01-04  Richard Biener  <rguenther@suse.de>

PR tree-optimization/98393
* tree-vect-slp.c (vect_build_slp_tree): Properly zero matches
when hitting the limit.
gcc/tree-vect-slp.c