This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 14/14][Vectorizer] Tidy up vect_create_epilog / use_scalar_result
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Alan Lawrence <alan dot lawrence at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 22 Sep 2014 12:53:42 +0200
- Subject: Re: [PATCH 14/14][Vectorizer] Tidy up vect_create_epilog / use_scalar_result
- Authentication-results: sourceware.org; auth=none
- References: <541AC4D2 dot 9040901 at arm dot com> <541AD488 dot 9060900 at arm dot com>
On Thu, Sep 18, 2014 at 2:48 PM, Alan Lawrence <alan.lawrence@arm.com> wrote:
> Following earlier patches, vect_create_epilog_for_reduction contains exactly
> one case where extract_scalar_result==true. Hence, move the code 'if
> (extract_scalar_result)' there, and tidy-up/remove some variables.
>
> bootstrapped on x86_64-none-linux-gnu + check-gcc + check-g++.
Ok.
Thanks,
Richard.
> gcc/ChangeLog:
>
> * tree-vect-loop.c (vect_create_epilog_for_reduction): Move code for
> 'if (extract_scalar_result)' to the only place that it is true.