]> git.ipfire.org Git - thirdparty/gcc.git/commit
LoongArch: Remove unused/useless definitions.
authorChenghui Pan <panchenghui@loongson.cn>
Fri, 15 Mar 2024 01:30:25 +0000 (09:30 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Wed, 20 Mar 2024 02:13:55 +0000 (10:13 +0800)
commit0529f98b7b1b0eadb009a7aa3161462897e53745
treee24a936f9ff335758ebfad7060d77cbe338dfe1c
parent44ba7bcb752a40ec7490dea53d3a472ce633371d
LoongArch: Remove unused/useless definitions.

This patch removes some unnecessary definitions of target hook functions
according to the documentation of GCC.

gcc/ChangeLog:

* config/loongarch/loongarch-protos.h
(loongarch_cfun_has_cprestore_slot_p): Delete.
(loongarch_adjust_insn_length): Delete.
(current_section_name): Delete.
(loongarch_split_symbol_type): Delete.
* config/loongarch/loongarch.cc
(loongarch_case_values_threshold): Delete.
(loongarch_spill_class): Delete.
(TARGET_OPTAB_SUPPORTED_P): Delete.
(TARGET_CASE_VALUES_THRESHOLD): Delete.
(TARGET_SPILL_CLASS): Delete.
gcc/config/loongarch/loongarch-protos.h
gcc/config/loongarch/loongarch.cc