aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-09-09 16:52:12 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-09-09 16:52:12 +0000
commitf78f73cbd284abe4f1718fd7803f5f98800de225 (patch)
tree1364617a9bf22e5a87b95265c441ea3ef6428ccb /gcc/targhooks.c
parenta6edd18cb32993213508aaa4879af7485c1bbaac (diff)
downloadgcc-f78f73cbd284abe4f1718fd7803f5f98800de225.zip
gcc-f78f73cbd284abe4f1718fd7803f5f98800de225.tar.gz
gcc-f78f73cbd284abe4f1718fd7803f5f98800de225.tar.bz2
Remove bt-load.c
bt-load.c has AFAIK been dead code since the removal of the SH5 port in 2016. I have a patch series that would need to update the liveness tracking in a nontrivial way, so it seemed better to remove the pass rather than install an untested and probably bogus change. 2019-09-09 Richard Sandiford <richard.sandiford@arm.com> gcc/ * Makefile.in (OBJS): Remove bt-load.o. * doc/invoke.texi (fbranch-target-load-optimize): Delete. (fbranch-target-load-optimize2, fbtr-bb-exclusive): Likewise. * common.opt (fbranch-target-load-optimize): Mark as Ignore and document that the option no longer does anything. (fbranch-target-load-optimize2, fbtr-bb-exclusive): Likewise. * target.def (branch_target_register_class): Delete. (branch_target_register_callee_saved): Likewise. * doc/tm.texi.in (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise. (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise. * doc/tm.texi: Regenerate. * tree-pass.h (make_pass_branch_target_load_optimize1): Delete. (make_pass_branch_target_load_optimize2): Likewise. * passes.def (pass_branch_target_load_optimize1): Likewise. (pass_branch_target_load_optimize2): Likewise. * targhooks.h (default_branch_target_register_class): Likewise. * targhooks.c (default_branch_target_register_class): Likewise. * opt-suggestions.c (test_completion_valid_options): Remove -fbtr-bb-exclusive from the list of test options. * bt-load.c: Remove. From-SVN: r275521
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r--gcc/targhooks.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index 1d12ec5..ed77afb 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -1054,12 +1054,6 @@ default_return_pops_args (tree, tree, poly_int64)
}
reg_class_t
-default_branch_target_register_class (void)
-{
- return NO_REGS;
-}
-
-reg_class_t
default_ira_change_pseudo_allocno_class (int regno ATTRIBUTE_UNUSED,
reg_class_t cl,
reg_class_t best_cl ATTRIBUTE_UNUSED)