[gcc r13-732] tree-vect-slp-patterns.cc: add 'final' and 'override' to vect_pattern::build impls
David Malcolm
dmalcolm@gcc.gnu.org
Tue May 24 12:53:58 GMT 2022
https://gcc.gnu.org/g:4665cfbc4c70e24b4c885338577d4b7bc1752473
commit r13-732-g4665cfbc4c70e24b4c885338577d4b7bc1752473
Author: David Malcolm <dmalcolm@redhat.com>
Date: Tue May 24 08:53:30 2022 -0400
tree-vect-slp-patterns.cc: add 'final' and 'override' to vect_pattern::build impls
gcc/ChangeLog:
* tree-vect-slp-patterns.cc: Add "final" and "override" to
vect_pattern::build impls as appropriate.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diff:
---
gcc/tree-vect-slp-patterns.cc | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gcc/tree-vect-slp-patterns.cc b/gcc/tree-vect-slp-patterns.cc
index a6b0d106d5f..e6a6db8beba 100644
--- a/gcc/tree-vect-slp-patterns.cc
+++ b/gcc/tree-vect-slp-patterns.cc
@@ -492,7 +492,7 @@ class complex_pattern : public vect_pattern
}
public:
- void build (vec_info *);
+ void build (vec_info *) override;
static internal_fn
matches (complex_operation_t op, slp_tree_to_load_perm_map_t *, slp_tree *,
@@ -595,7 +595,7 @@ class complex_add_pattern : public complex_pattern
}
public:
- void build (vec_info *);
+ void build (vec_info *) final override;
static internal_fn
matches (complex_operation_t op, slp_tree_to_load_perm_map_t *,
slp_compat_nodes_map_t *, slp_tree *, vec<slp_tree> *);
@@ -977,7 +977,7 @@ class complex_mul_pattern : public complex_pattern
}
public:
- void build (vec_info *);
+ void build (vec_info *) final override;
static internal_fn
matches (complex_operation_t op, slp_tree_to_load_perm_map_t *,
slp_compat_nodes_map_t *, slp_tree *, vec<slp_tree> *);
@@ -1204,7 +1204,7 @@ class complex_fms_pattern : public complex_pattern
}
public:
- void build (vec_info *);
+ void build (vec_info *) final override;
static internal_fn
matches (complex_operation_t op, slp_tree_to_load_perm_map_t *,
slp_compat_nodes_map_t *, slp_tree *, vec<slp_tree> *);
@@ -1380,7 +1380,7 @@ class complex_operations_pattern : public complex_pattern
}
public:
- void build (vec_info *);
+ void build (vec_info *) final override;
static internal_fn
matches (complex_operation_t op, slp_tree_to_load_perm_map_t *,
slp_compat_nodes_map_t *, slp_tree *, vec<slp_tree> *);
@@ -1446,7 +1446,7 @@ class addsub_pattern : public vect_pattern
addsub_pattern (slp_tree *node, internal_fn ifn)
: vect_pattern (node, NULL, ifn) {};
- void build (vec_info *);
+ void build (vec_info *) final override;
static vect_pattern*
recognize (slp_tree_to_load_perm_map_t *, slp_compat_nodes_map_t *,
More information about the Gcc-cvs
mailing list