]> gcc.gnu.org Git - gcc.git/commit
middle-end: Revert can_special_div_by_const changes [PR108583]
authorTamar Christina <tamar.christina@arm.com>
Sun, 12 Mar 2023 18:39:33 +0000 (18:39 +0000)
committerTamar Christina <tamar.christina@arm.com>
Sun, 12 Mar 2023 18:39:33 +0000 (18:39 +0000)
commit2246d576f922bae3629da0fe1dbfcc6ff06769ad
tree6c560ab180f68a6da55cdcedafcfb2e3ca187d75
parent8536c09108f429d8ab6ca850f3835668cc1c8929
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.
14 files changed:
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/explow.cc
gcc/expmed.cc
gcc/expmed.h
gcc/expr.cc
gcc/optabs.cc
gcc/target.def
gcc/target.h
gcc/targhooks.cc
gcc/targhooks.h
gcc/tree-vect-generic.cc
gcc/tree-vect-patterns.cc
gcc/tree-vect-stmts.cc
This page took 0.069391 seconds and 6 git commands to generate.