tree-vectorizer.h (_stmt_vec_info::cond_reduc_code): Remove.
authorRichard Biener <rguenther@suse.de>
Thu, 17 Oct 2019 17:30:49 +0000 (17:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 17 Oct 2019 17:30:49 +0000 (17:30 +0000)
commitc11cccc0285f02f117a1e80924fb7673b6486ce9
tree4ed96a0431768a8a2c260e0ebf69a75015d9ff8c
parent1a456495015d3be8d49751031ce58b4991ab6f50
tree-vectorizer.h (_stmt_vec_info::cond_reduc_code): Remove.

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

* tree-vectorizer.h (_stmt_vec_info::cond_reduc_code): Remove.
(STMT_VINFO_VEC_COND_REDUC_CODE): Likewise.
* tree-vectorizer.c (vec_info::new_stmt_vec_info): Do not
initialize STMT_VINFO_VEC_COND_REDUC_CODE.
* tree-vect-loop.c (vect_is_simple_reduction): Set
STMT_VINFO_REDUC_CODE.
(vectorizable_reduction): Remove dead and redundant code, use
STMT_VINFO_REDUC_CODE instead of STMT_VINFO_VEC_COND_REDUC_CODE.

From-SVN: r277126
gcc/ChangeLog
gcc/tree-vect-loop.c
gcc/tree-vectorizer.c
gcc/tree-vectorizer.h