This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, vec-tails 06/10] Mark the first vector store generated for a scalar store
- From: Jeff Law <law at redhat dot com>
- To: Ilya Enkovich <enkovich dot gnu at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 Jun 2016 10:57:53 -0600
- Subject: Re: [PATCH, vec-tails 06/10] Mark the first vector store generated for a scalar store
- Authentication-results: sourceware.org; auth=none
- References: <20160519194354 dot GG40563 at msticlxl57 dot ims dot intel dot com>
On 05/19/2016 01:43 PM, Ilya Enkovich wrote:
Hi,
This patch STMT_VINFO_FIRST_COPY_P field to statement vec info.
This is used to find the first vector store generated for a
scalar one. For other statements I use original scalar statement
to find the first and following vector statement. For stores
original scalar statement is removed and this new fiels is used
to mark a chain start. Also original data reference and vector
type are preserved in the first vector statement for masking
purposes.
Thanks,
Ilya
--
gcc/
2016-05-19 Ilya Enkovich <ilya.enkovich@intel.com>
* tree-vect-stmts.c (vectorizable_mask_load_store): Mark
the first copy of generated vector stores.
(vectorizable_store): Mark the first copy of generated
vector stores and provide it with vectype and the original
data reference.
* tree-vectorizer.h (struct _stmt_vec_info): Add first_copy_p
field.
(STMT_VINFO_FIRST_COPY_P): New.
OK when the rest of the patch kit is approved.
jeff