tree-vectorizer.h (vect_loop_versioning): Adjust prototype.
authorRichard Guenther <rguenther@suse.de>
Wed, 9 May 2012 11:01:16 +0000 (11:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 9 May 2012 11:01:16 +0000 (11:01 +0000)
commit368117e868b67d8e7daa2b3a2d27249bdf2e207f
tree036af27bac578af05d4facd8b5abcc09fe905e8f
parent4ede37cd48e572a97e5afca7a1dde311a6dfb229
tree-vectorizer.h (vect_loop_versioning): Adjust prototype.

2012-05-09  Richard Guenther  <rguenther@suse.de>

* tree-vectorizer.h (vect_loop_versioning): Adjust prototype.
(vect_do_peeling_for_loop_bound): Likewise.
(vect_do_peeling_for_alignment): Likewise.
* tree-vect-loop-manip.c (conservative_cost_threshold): Remove.
(vect_do_peeling_for_loop_bound): Get check_profitability and
threshold as parameters.
(vect_do_peeling_for_alignment): Likewise.
(vect_loop_versioning): Likewise.
* tree-vect-loop.c (vect_transform_loop): Compute check_profitability
and threshold here.  Control where to put the check here.

From-SVN: r187323
gcc/ChangeLog
gcc/tree-vect-loop-manip.c
gcc/tree-vect-loop.c
gcc/tree-vectorizer.h