On Wed, Jul 12, 2017 at 5:11 PM, Robin Dapp <rd...@linux.vnet.ibm.com> wrote:
> The attached patch fixes PR81362.
>
> npeel was erroneously overwritten by vect_peeling_hash_get_lowest_cost
> although the corresponding dataref is not used afterwards.  It should be
> safe to get rid of the npeel parameter since we use the returned
> peeling_info's npeel anyway.  Also removed the body_cost_vec parameter
> which is not used elsewhere.

Ok.

Thanks,
Richard.

> Regards
>  Robin
>
>
> --
>
> gcc/ChangeLog:
>
> 2017-07-12  Robin Dapp  <rd...@linux.vnet.ibm.com>
>
>         * (vect_enhance_data_refs_alignment):
>         Remove body_cost_vec from _vect_peel_extended_info.
>         tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost):
>         Do not set body_cost_vec.
>         (vect_peeling_hash_choose_best_peeling): Remove body_cost_vec
>         and npeel.

Reply via email to