tree-vectorizer.h (_stmt_vec_info::reduc_vectype_in): New.
authorRichard Biener <rguenther@suse.de>
Wed, 9 Oct 2019 07:02:22 +0000 (07:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 9 Oct 2019 07:02:22 +0000 (07:02 +0000)
commitf78347996e02a8a767a525bfb764e769afe29d67
treed291e0e3a7047776a920faaae0b725332154a5a7
parent4e78c6883f97bf45eeb1ad3041dcf2e2de01912c
tree-vectorizer.h (_stmt_vec_info::reduc_vectype_in): New.

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

* tree-vectorizer.h (_stmt_vec_info::reduc_vectype_in): New.
(_stmt_vec_info::force_single_cycle): Likewise.
(STMT_VINFO_FORCE_SINGLE_CYCLE): New.
(STMT_VINFO_REDUC_VECTYPE_IN): Likewise.
* tree-vect-loop.c (vectorizable_reduction): Set
STMT_VINFO_REDUC_VECTYPE_IN and STMT_VINFO_FORCE_SINGLE_CYCLE.
(vect_transform_reduction): Use them to remove redundant code.
(vect_transform_cycle_phi): Likewise.

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