The following removes an unused accessor to data that should go away. * target.h (stmt_vectype): Remove. * tree-vect-stmts.cc (stmt_vectype): Likewise. --- gcc/target.h | 1 - gcc/tree-vect-stmts.cc | 8 -------- 2 files changed, 9 deletions(-)
diff --git a/gcc/target.h b/gcc/target.h index c9c7b52b40f..47f18469f23 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -169,7 +169,6 @@ class predefined_function_abi; struct store_fwd_info; /* These are defined in tree-vect-stmts.cc. */ -extern tree stmt_vectype (class _stmt_vec_info *); extern bool stmt_in_inner_loop_p (class vec_info *, class _stmt_vec_info *); /* Assembler instructions for creating various kinds of integer object. */ diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc index 7a115dbcfcb..eee6467d8bb 100644 --- a/gcc/tree-vect-stmts.cc +++ b/gcc/tree-vect-stmts.cc @@ -62,14 +62,6 @@ along with GCC; see the file COPYING3. If not see /* For lang_hooks.types.type_for_mode. */ #include "langhooks.h" -/* Return the vectorized type for the given statement. */ - -tree -stmt_vectype (class _stmt_vec_info *stmt_info) -{ - return STMT_VINFO_VECTYPE (stmt_info); -} - /* Return TRUE iff the given statement is in an inner loop relative to the loop being vectorized. */ bool -- 2.43.0