r263124 - in /trunk/gcc: ChangeLog tree-vect-lo...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Tue Jul 31 14:21:00 GMT 2018
Author: rsandifo
Date: Tue Jul 31 14:21:51 2018
New Revision: 263124
URL: https://gcc.gnu.org/viewcvs?rev=263124&root=gcc&view=rev
Log:
[09/46] Add vec_info::lookup_single_use
This patch adds a helper function for seeing whether there is a single
user of an SSA name, and whether that user has a stmt_vec_info.
2018-07-31 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* tree-vectorizer.h (vec_info::lookup_single_use): Declare.
* tree-vectorizer.c (vec_info::lookup_single_use): New function.
* tree-vect-loop.c (vectorizable_reduction): Use it instead of
a single_imm_use-based sequence.
* tree-vect-stmts.c (supportable_widening_operation): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-vect-loop.c
trunk/gcc/tree-vect-stmts.c
trunk/gcc/tree-vectorizer.c
trunk/gcc/tree-vectorizer.h
More information about the Gcc-cvs
mailing list