aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-07-25 11:45:17 +0200
committerRichard Biener <rguenther@suse.de>2025-07-25 14:20:22 +0200
commitc2bb709a9cd580309016ed95b6e2abc9cb7a26e8 (patch)
treebcafa9b1b67140f002cd703544ac939b940a353f /gcc
parenta2775feb7c7de9f21f79052e2b6a752a3eb08f07 (diff)
downloadgcc-c2bb709a9cd580309016ed95b6e2abc9cb7a26e8.zip
gcc-c2bb709a9cd580309016ed95b6e2abc9cb7a26e8.tar.gz
gcc-c2bb709a9cd580309016ed95b6e2abc9cb7a26e8.tar.bz2
Remove unused stmt_vectype
The following removes an unused accessor to data that should go away. * target.h (stmt_vectype): Remove. * tree-vect-stmts.cc (stmt_vectype): Likewise.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/target.h1
-rw-r--r--gcc/tree-vect-stmts.cc8
2 files changed, 0 insertions, 9 deletions
diff --git a/gcc/target.h b/gcc/target.h
index c9c7b52..47f1846 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 82d5ddc..2d596b8 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