2018-05-09 Richard Biener <rguenther@suse.de>
commitc78074085f71aa45d258b1f1c8ef9298d45059f0
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2018 13:04:00 +0000 (9 13:04 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2018 13:04:00 +0000 (9 13:04 +0000)
tree45900db13bf502d1d1d1bd9a69f9fc3bb3b16148
parentfbdd315b8317979e140d98214ccb1e1d54f3d334
2018-05-09  Richard Biener  <rguenther@suse.de>

* tree-vect-slp.c (vect_bb_slp_scalar_cost): Fill a cost
vector.
(vect_bb_vectorization_profitable_p): Adjust.  Compute
actual scalar cost using the cost vector and the add_stmt_cost
machinery.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260078 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-slp.c