re PR tree-optimization/81303 (410.bwaves regression caused by r249919)
commitd629ab44961886947b9ba07b8f26240868904457
authorRichard Biener <rguenther@suse.de>
Fri, 21 Jul 2017 11:32:39 +0000 (21 11:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 21 Jul 2017 11:32:39 +0000 (21 11:32 +0000)
treea677535866d03e80eab41f1188d7a4850b9d20fa
parent9af7f3731b0ddffb3aa75b78a0ede411d36a3b09
re PR tree-optimization/81303 (410.bwaves regression caused by r249919)

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.

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