Vector peeling cost model 2/6
authorRobin Dapp <rdapp@linux.vnet.ibm.com>
Tue, 30 May 2017 10:56:15 +0000 (10:56 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 30 May 2017 10:56:15 +0000 (10:56 +0000)
commit71595748a3b193518a6bfb3578e9ff1aa813620f
treeb19902ac7164e0c2ae16ff1268700700beff119a
parent8d21ff9f66a20e551d52b0759c926660dccb49cd
Vector peeling cost model 2/6

gcc/ChangeLog:

2017-05-30  Robin Dapp  <rdapp@linux.vnet.ibm.com>

* tree-vect-data-refs.c (vect_update_misalignment_for_peel): Rename.
(vect_get_peeling_costs_all_drs): Create function.
(vect_peeling_hash_get_lowest_cost):
Use vect_get_peeling_costs_all_drs.
(vect_peeling_supportable): Create function.
(vect_enhance_data_refs_alignment): Use vect_peeling_supportable.

From-SVN: r248676
gcc/ChangeLog
gcc/tree-vect-data-refs.c