2017-07-21 Richard Biener <rguenther@suse.de>
commitdb755b037a9aee80b4ec15b1b47b8b7acab84c46
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Jul 2017 11:32:39 +0000 (21 11:32 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Jul 2017 11:32:39 +0000 (21 11:32 +0000)
treea677535866d03e80eab41f1188d7a4850b9d20fa
parent3a94df0b755e2c3081905e4841a4fca58fb2417a
2017-07-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/81303
* tree-vect-data-refs.c (vect_get_peeling_costs_all_drs): Pass
in datarefs vector.  Allow NULL dr0 for no peeling cost estimate.
(vect_peeling_hash_get_lowest_cost): Adjust.
(vect_enhance_data_refs_alignment): Likewise.  Use
vect_get_peeling_costs_all_drs to compute the penalty for no
peeling to match up costs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250424 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-data-refs.c