r256096 - in /trunk/gcc: ChangeLog tree-ssa-for...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Tue Jan 2 18:26:00 GMT 2018


Author: rsandifo
Date: Tue Jan  2 18:26:56 2018
New Revision: 256096

URL: https://gcc.gnu.org/viewcvs?rev=256096&root=gcc&view=rev
Log:
Add a vec_perm_indices_to_tree helper function

This patch adds a function for creating a VECTOR_CST from a
vec_perm_indices, operating directly on the encoding.

2018-01-02  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
	* vec-perm-indices.h (vec_perm_indices_to_tree): Declare.
	* vec-perm-indices.c (vec_perm_indices_to_tree): New function.
	* tree-ssa-forwprop.c (simplify_vector_constructor): Use it.
	* tree-vect-slp.c (vect_transform_slp_perm_load): Likewise.
	* tree-vect-stmts.c (vectorizable_bswap): Likewise.
	(vect_gen_perm_mask_any): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-forwprop.c
    trunk/gcc/tree-vect-slp.c
    trunk/gcc/tree-vect-stmts.c
    trunk/gcc/vec-perm-indices.c
    trunk/gcc/vec-perm-indices.h



More information about the Gcc-cvs mailing list