Vector peeling cost model 3/6
authorRobin Dapp <rdapp@linux.vnet.ibm.com>
Tue, 30 May 2017 10:57:53 +0000 (10:57 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 30 May 2017 10:57:53 +0000 (10:57 +0000)
commit1e69cc8f2719f0bca87f29fa03e5a65a944ab659
treedced5815ebf536faed331c80e48745dc30020c6e
parent71595748a3b193518a6bfb3578e9ff1aa813620f
Vector peeling cost model 3/6

gcc/ChangeLog:

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

* tree-vect-data-refs.c (vect_peeling_hash_choose_best_peeling):
Return peeling info and set costs to zero for unlimited cost
model.
(vect_enhance_data_refs_alignment): Also inspect all datarefs
with unknown misalignment. Compute and costs for unknown
misalignment, compare them to the costs for known misalignment
and choose the cheapest for peeling.

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