This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH GCC8][32/33]Save niter check for vect peeling if loop versioning is required
- From: "Bin.Cheng" <amker dot cheng at gmail dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 7 Jun 2017 12:04:57 +0100
- Subject: Re: [PATCH GCC8][32/33]Save niter check for vect peeling if loop versioning is required
- Authentication-results: sourceware.org; auth=none
- References: <VI1PR0802MB21767511F259C08E5E23F7A2E7190@VI1PR0802MB2176.eurprd08.prod.outlook.com> <CAFiYyc2TXuVykJAQL7if_pxWwh_mqNqEmq9ATeDd5_tS1e1RmA@mail.gmail.com>
On Thu, May 11, 2017 at 12:06 PM, Richard Biener
<richard.guenther@gmail.com> wrote:
> On Tue, Apr 18, 2017 at 12:54 PM, Bin Cheng <Bin.Cheng@arm.com> wrote:
>> Hi,
>> When loop versioning is required in vectorization, we can merge niter check for vect
>> peeling with the check for loop versioning, thus save one check/branch for vectorized
>> loop.
>> Is it OK?
>
> Ok.
Applied @r248959.
Thanks,
bin
>
> Thanks,
> Richard.
>
>> Thanks,
>> bin
>> 2017-04-11 Bin Cheng <bin.cheng@arm.com>
>>
>> * tree-vect-loop-manip.c (vect_do_peeling): Don't skip vector loop
>> if versioning is required.
>> * tree-vect-loop.c (vect_analyze_loop_2): Merge niter check for loop
>> peeling with the check for versioning.