tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): Open a dump scope.
authorRichard Biener <rguenther@suse.de>
Mon, 8 Oct 2018 12:29:51 +0000 (12:29 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 8 Oct 2018 12:29:51 +0000 (12:29 +0000)
commit269ba95042e9fa35f6fa4c8270339bb932e8f7e9
tree3350b6f9558f9fcc05eaac7091a9b4ad4dd106c2
parentaca0dcde1ff2b81eb6335bdf2e8ae73f7519c99a
tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): Open a dump scope.

2018-10-08  Richard Biener  <rguenther@suse.de>

* tree-vect-loop.c (vect_compute_single_scalar_iteration_cost):
Open a dump scope.
* tree-vectorizer.c (dump_stmt_cost): Add cost param and dump it.
* tree-vectorizer.h (dump_stmt_cost): Adjust.
(add_stmt_cost): Dump return value of the hook.

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