2017-06-13 Richard Biener <rguenther@suse.de>
commit6ce96a53aef53d18d834be3da6e095032d682d0c
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 2017 07:10:06 +0000 (13 07:10 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 2017 07:10:06 +0000 (13 07:10 +0000)
tree3359c5316c7f973c8fb566d5cd3c45036e63ee84
parente7ff9d727756b6837c9caa34307d05621526b577
2017-06-13  Richard Biener  <rguenther@suse.de>

* tree-vect-loop.c (vect_model_reduction_cost): Do not fail,
instead get vector type from stmt_info.
(vectorizable_reduction): Adjust.  Remove dead code.

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