tree-optimization/97020 - account SLP cost in loop vect again
authorRichard Biener <rguenther@suse.de>
Fri, 11 Sep 2020 11:51:58 +0000 (13:51 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 11 Sep 2020 11:53:34 +0000 (13:53 +0200)
commit8d3767c30240c901a493d82d9d20f306b2f0152d
treef95b7887185275f930095a0859c603e6bc3cf585
parent2c1d809e93e983fa9dde6d4a14c23193608fed68
tree-optimization/97020 - account SLP cost in loop vect again

The previous re-org made the cost of SLP vector stmts in loop
vectorization ignored.  The following rectifies this mistake.

2020-09-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/97020
* tree-vect-slp.c (vect_slp_analyze_operations): Apply
SLP costs when doing loop vectorization.
gcc/tree-vect-slp.c