This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r263139 - in /trunk/gcc: ChangeLog tree-vect-lo...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 31 Jul 2018 14:23:48 -0000
- Subject: r263139 - in /trunk/gcc: ChangeLog tree-vect-lo...
Author: rsandifo
Date: Tue Jul 31 14:23:48 2018
New Revision: 263139
URL: https://gcc.gnu.org/viewcvs?rev=263139&root=gcc&view=rev
Log:
[24/46] Make stmt_info_for_cost use a stmt_vec_info
This patch makes stmt_info_for_cost carry a stmt_vec_info instead
of a gimple stmt. The structure is internal to the vectoriser,
so targets aren't affected.
2018-07-31 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* tree-vectorizer.h (stmt_info_for_cost::stmt): Replace with...
(stmt_info_for_cost::stmt_info): ...this new field.
(add_stmt_costs): Update accordingly.
* tree-vect-loop.c (vect_compute_single_scalar_iteration_cost)
(vect_get_known_peeling_cost): Likewise.
(vect_estimate_min_profitable_iters): Likewise.
* tree-vect-stmts.c (record_stmt_cost): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-vect-loop.c
trunk/gcc/tree-vect-stmts.c
trunk/gcc/tree-vectorizer.h