tree-optimization/99017 - be more forgiving in BB vect costing
authorRichard Biener <rguenther@suse.de>
Tue, 9 Feb 2021 09:11:35 +0000 (10:11 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 9 Feb 2021 09:11:35 +0000 (10:11 +0100)
commit283653f45595f53db486cbc2f1f10091cb45ea3b
treeefe55e0054e2b64740d67c450d9b61c47f07f701
parent57d705da0b98f5d398c4b8f9bd76fe8ad98e13bc
tree-optimization/99017 - be more forgiving in BB vect costing

This works around a SLP graph partitioning or cost collecting issue
by being more forgiving in vect_bb_vectorization_profitable_p.

2021-02-09  Richard Biener  <rguenther@suse.de>

PR tree-optimization/99017
* tree-vect-slp.c (vect_bb_vectorization_profitable_p): Allow
zero vector cost entries.
gcc/tree-vect-slp.c