tree-vect-loop.c (vect_model_reduction_cost): Do not fail, instead get vector type...
authorRichard Biener <rguenther@suse.de>
Tue, 13 Jun 2017 07:10:06 +0000 (07:10 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 13 Jun 2017 07:10:06 +0000 (07:10 +0000)
commitbae6eef0095c6fb444a547da7a938a2d35a6e3be
tree3359c5316c7f973c8fb566d5cd3c45036e63ee84
parent4f2c198d7675168416b8c994467d2941bfa5a309
tree-vect-loop.c (vect_model_reduction_cost): Do not fail, instead get vector type from stmt_info.

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.

From-SVN: r249145
gcc/ChangeLog
gcc/tree-vect-loop.c