Vector peeling cost model 4/6
authorRobin Dapp <rdapp@linux.vnet.ibm.com>
Tue, 30 May 2017 10:59:07 +0000 (10:59 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 30 May 2017 10:59:07 +0000 (10:59 +0000)
commit64812d33ac6c0f23a3f4c25bc5497d7bb00e0f24
tree75daba289c9a1b63677f831049a4b8365c298253
parent1e69cc8f2719f0bca87f29fa03e5a65a944ab659
Vector peeling cost model 4/6

gcc/ChangeLog:

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

* tree-vect-data-refs.c (vect_get_data_access_cost):
Workaround for SLP handling.
(vect_enhance_data_refs_alignment):
Compute costs for doing no peeling at all, compare to the best
peeling costs so far and avoid peeling if cheaper.

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