re PR tree-optimization/64909 (Missed vectorization with bdver1)
authorRichard Biener <rguenther@suse.de>
Tue, 10 Feb 2015 11:48:47 +0000 (11:48 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 10 Feb 2015 11:48:47 +0000 (11:48 +0000)
commit696814edb80cfae8840213cf3e3100d0265944bd
tree23cfbb89274e498a827a4e773622710dfa8b4ded
parent644a47612e7b5919bb36df5d6c0b28992d99ce5f
re PR tree-optimization/64909 (Missed vectorization with bdver1)

2015-02-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/64909
* tree-vect-loop.c (vect_estimate_min_profitable_iters): Properly
pass a scalar-stmt count estimate to the cost model.
* tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost): Likewise.

* gcc.dg/vect/costmodel/x86_64/costmodel-pr64909.c: New testcase.

From-SVN: r220580
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr64909.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c
gcc/tree-vect-loop.c