aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.h
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2023-03-12 18:39:33 +0000
committerTamar Christina <tamar.christina@arm.com>2023-03-12 18:39:33 +0000
commit2246d576f922bae3629da0fe1dbfcc6ff06769ad (patch)
tree6c560ab180f68a6da55cdcedafcfb2e3ca187d75 /gcc/targhooks.h
parent8536c09108f429d8ab6ca850f3835668cc1c8929 (diff)
downloadgcc-2246d576f922bae3629da0fe1dbfcc6ff06769ad.zip
gcc-2246d576f922bae3629da0fe1dbfcc6ff06769ad.tar.gz
gcc-2246d576f922bae3629da0fe1dbfcc6ff06769ad.tar.bz2
middle-end: Revert can_special_div_by_const changes [PR108583]
This reverts the changes for the CAN_SPECIAL_DIV_BY_CONST hook. gcc/ChangeLog: PR target/108583 * doc/tm.texi (TARGET_VECTORIZE_CAN_SPECIAL_DIV_BY_CONST): Remove. * doc/tm.texi.in: Likewise. * explow.cc (round_push, align_dynamic_address): Revert previous patch. * expmed.cc (expand_divmod): Likewise. * expmed.h (expand_divmod): Likewise. * expr.cc (force_operand, expand_expr_divmod): Likewise. * optabs.cc (expand_doubleword_mod, expand_doubleword_divmod): Likewise. * target.def (can_special_div_by_const): Remove. * target.h: Remove tree-core.h include * targhooks.cc (default_can_special_div_by_const): Remove. * targhooks.h (default_can_special_div_by_const): Remove. * tree-vect-generic.cc (expand_vector_operation): Remove hook. * tree-vect-patterns.cc (vect_recog_divmod_pattern): Remove hook. * tree-vect-stmts.cc (vectorizable_operation): Remove hook.
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r--gcc/targhooks.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index 8725f1b..555160d 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -211,8 +211,6 @@ extern void default_addr_space_diagnose_usage (addr_space_t, location_t);
extern rtx default_addr_space_convert (rtx, tree, tree);
extern unsigned int default_case_values_threshold (void);
extern bool default_have_conditional_execution (void);
-extern bool default_can_special_div_by_const (enum tree_code, tree, wide_int,
- rtx *, rtx, rtx);
extern bool default_libc_has_function (enum function_class, tree);
extern bool default_libc_has_fast_function (int fcode);