r263151 - in /trunk/gcc: ChangeLog tree-vect-pa...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Tue Jul 31 14:25:00 GMT 2018


Author: rsandifo
Date: Tue Jul 31 14:25:47 2018
New Revision: 263151

URL: https://gcc.gnu.org/viewcvs?rev=263151&root=gcc&view=rev
Log:
[36/46] Add a pattern_stmt_p field to stmt_vec_info

This patch adds a pattern_stmt_p field to stmt_vec_info, so that it's
possible to tell whether the statement is a pattern statement without
referring to other statements.  The new field goes in what was
previously a hole in the structure, so the size is the same as before.

2018-07-31  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	* tree-vectorizer.h (_stmt_vec_info::pattern_stmt_p): New field.
	(is_pattern_stmt_p): Use it.
	* tree-vect-patterns.c (vect_init_pattern_stmt): Set pattern_stmt_p
	on pattern statements.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-vect-patterns.c
    trunk/gcc/tree-vectorizer.h



More information about the Gcc-cvs mailing list