This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242199 - in /branches/ARM/sve-branch/gcc: tree...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:17:31 -0000
- Subject: r242199 - in /branches/ARM/sve-branch/gcc: tree...
Author: rsandifo
Date: Fri Nov 11 17:17:31 2016
New Revision: 242199
URL: https://gcc.gnu.org/viewcvs?rev=242199&root=gcc&view=rev
Log:
Add a vect_get_num_copies helper routine
This patch adds a vectoriser helper routine to calculate how
many copies of a vector statement we need. At present this
is always:
LOOP_VINFO_VECT_FACTOR (loop_vinfo) / TYPE_VECTOR_SUBPARTS (vectype)
but later patches add other cases. Another benefit of using
a helper routine is that it can assert that the division is
exact (which it must be).
Modified:
branches/ARM/sve-branch/gcc/tree-vect-data-refs.c
branches/ARM/sve-branch/gcc/tree-vect-loop.c
branches/ARM/sve-branch/gcc/tree-vect-stmts.c
branches/ARM/sve-branch/gcc/tree-vectorizer.h