diff options
author | Robin Dapp <rdapp@linux.vnet.ibm.com> | 2017-07-18 09:23:35 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2017-07-18 09:23:35 +0000 |
commit | ec15a152077b766a2b61c36f86172af05aa03ab5 (patch) | |
tree | be1907a923b236fb3c50be7ec8a8f85597b8f098 /gcc/cp/cp-array-notation.c | |
parent | 4169392a241995c854e72ab9ed74581bfe8c067a (diff) | |
download | gcc-ec15a152077b766a2b61c36f86172af05aa03ab5.zip gcc-ec15a152077b766a2b61c36f86172af05aa03ab5.tar.gz gcc-ec15a152077b766a2b61c36f86172af05aa03ab5.tar.bz2 |
Fix PR81362: Vector peeling
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.
gcc/ChangeLog:
2017-07-18 Robin Dapp <rdapp@linux.vnet.ibm.com>
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Remove
body_cost_vec from _vect_peel_extended_info.
(vect_peeling_hash_get_lowest_cost): Do not set body_cost_vec.
(vect_peeling_hash_choose_best_peeling): Remove body_cost_vec and
npeel.
From-SVN: r250300
Diffstat (limited to 'gcc/cp/cp-array-notation.c')
0 files changed, 0 insertions, 0 deletions