[PATCH GCC8][32/33]Save niter check for vect peeling if loop versioning is required

Richard Biener richard.guenther@gmail.com
Thu May 11 11:08:00 GMT 2017


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.

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.



More information about the Gcc-patches mailing list