re PR tree-optimization/53342 (rnflow.f90 is ~5% slower after revision 187340)
commit14ac6aa24e155affd1829600a5294a8f3cc115cd
authorRichard Biener <rguenther@suse.de>
Tue, 5 Feb 2013 15:33:35 +0000 (5 15:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 5 Feb 2013 15:33:35 +0000 (5 15:33 +0000)
tree651820d2417bf642f8855ccf72e2ad4c334762ca
parent3654d3cf859b8db78662c0c29fb1ec49e214c420
re PR tree-optimization/53342 (rnflow.f90 is ~5% slower after revision 187340)

2013-02-05  Richard Biener  <rguenther@suse.de>

PR tree-optimization/53342
PR tree-optimization/53185
* tree-vectorizer.h (vect_check_strided_load): Remove.
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do
not disallow peeling for vectorized strided loads.
(vect_check_strided_load): Make static and simplify.
(vect_analyze_data_refs): Adjust.
* tree-vect-stmts.c (vectorizable_load): Handle peeled loops
correctly when vectorizing strided loads.

* gcc.dg/vect/pr53185-2.c: New testcase.

From-SVN: r195759
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr53185-2.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c
gcc/tree-vect-stmts.c
gcc/tree-vectorizer.h