This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR81362: Vector peeling
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Robin Dapp <rdapp at linux dot vnet dot ibm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Date: Mon, 17 Jul 2017 11:43:35 +0200
- Subject: Re: [PATCH] Fix PR81362: Vector peeling
- Authentication-results: sourceware.org; auth=none
- References: <1123086f-4a23-876a-7c22-78d5e42a4920@linux.vnet.ibm.com>
On Wed, Jul 12, 2017 at 5:11 PM, Robin Dapp <rdapp@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 <rdapp@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.