tree-vect-loop.c (check_reduction_path): Compute reduction operation here.
authorRichard Biener <rguenther@suse.de>
Thu, 17 Oct 2019 14:08:16 +0000 (14:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 17 Oct 2019 14:08:16 +0000 (14:08 +0000)
commit58baf7ab85cbb1068a651c96f7d56e2902ead6cc
treefe8e947abfcfb94d1686b92ff8008db81d140f81
parentcdb77369ca02673e878b1a1b7856de0f979d2fec
tree-vect-loop.c (check_reduction_path): Compute reduction operation here.

2019-10-17  Richard Biener  <rguenther@suse.de>

* tree-vect-loop.c (check_reduction_path): Compute reduction
operation here.
(vect_is_simple_reduction): Remove special-case of single-stmt
reduction path detection.

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