[arm] Cleanup dead code - old support for DImode comparisons

Programming / Compilers / GCC - rearnsha [138bc75d-0d04-0410-961f-82ee72b054a4] - 18 October 2019 19:03 EDT

Now that all the major patterns for DImode have been converted to early expansion, we can safely clean up some dead code for the old way of handling DImode.

- config/arm/arm-modes.def (CC_NCV, CC_CZ): Delete CC modes.
- config/arm/arm.c (arm_select_cc_mode): Remove old selection code for DImode operands. (arm_gen_dicompare_reg): Remove unreachable expansion code. (maybe_get_arm_condition_code): Remove support for CC_CZmode and CC_NCVmode.
- config/arm/arm.md (arm_cmpdi_insn): Delete. (arm_cmpdi_unsigned): Delete.

05d97be4158 [arm] Cleanup dead code - old support for DImode comparisons
gcc/ChangeLog | 11 ++++
gcc/config/arm/arm-modes.def | 5 --
gcc/config/arm/arm.c | 147 +------------------------------------------
gcc/config/arm/arm.md | 45 -------------
4 files changed, 12 insertions(+), 196 deletions(-)

Upstream: gcc.gnu.org


  • Share