Re: [PATCH] Fix PR81362: Vector peeling

2017-07-18 Thread Andreas Krebbel
On 07/12/2017 05:11 PM, Robin Dapp wrote: > gcc/ChangeLog: > > 2017-07-12 Robin Dapp > > * (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.

Re: [PATCH] Fix PR81362: Vector peeling

2017-07-17 Thread Richard Biener
On Wed, Jul 12, 2017 at 5:11 PM, Robin Dapp 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 ret

[PATCH] Fix PR81362: Vector peeling

2017-07-12 Thread Robin Dapp
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_cos