r242219 - in /branches/ARM/sve-branch/gcc: gimp...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Fri Nov 11 17:21:00 GMT 2016
Author: rsandifo
Date: Fri Nov 11 17:20:58 2016
New Revision: 242219
URL: https://gcc.gnu.org/viewcvs?rev=242219&root=gcc&view=rev
Log:
Treat VEC_{DUPLICATE,SERIES}_EXPR as gimple constants
This patch treats constant VEC_DUPLICATE_EXPR and VEC_SERIES_EXPR
expressions as gimple constants, so that they can be used in the
same situations that a (fixed-length) VECTOR_CST would.
As a result, some places that used to check CONSTANT_CLASS_P
now also need to check for TREE_CONSTANT versions of these two
codes. The patch adds a constant_tree_p helper routine for that.
Modified:
branches/ARM/sve-branch/gcc/gimple-expr.h
branches/ARM/sve-branch/gcc/gimple-match.h
branches/ARM/sve-branch/gcc/tree-ssa-loop.c
branches/ARM/sve-branch/gcc/tree-ssa-propagate.c
branches/ARM/sve-branch/gcc/tree-vect-loop.c
branches/ARM/sve-branch/gcc/tree.h
More information about the Gcc-cvs
mailing list