From: Karl Meakin Date: Fri, 17 Oct 2025 14:18:30 +0000 (+0000) Subject: aarch64: Remove unused pattern X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05a3346353dce270d8b6ef0d13fe977cf75d1fcb;p=thirdparty%2Fgcc.git aarch64: Remove unused pattern The `movcc` expander was not used anywhere. Delete it. gcc/ChangeLog: * config/aarch64/aarch64.md (movcc): Delete. --- diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index 9203609a068..855df791bae 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -4816,25 +4816,6 @@ } ) -(define_expand "movcc" - [(set (match_operand:GPI 0 "register_operand") - (if_then_else:GPI (match_operand 1 "aarch64_comparison_operator_cc") - (match_operand:GPF 2 "register_operand") - (match_operand:GPF 3 "register_operand")))] - "" - { - enum rtx_code code = GET_CODE (operands[1]); - - rtx ccreg = XEXP (operands[1], 0); - enum machine_mode ccmode = GET_MODE (ccreg); - if (GET_MODE_CLASS (ccmode) != MODE_CC) - { - ccreg = aarch64_gen_compare_reg (code, ccreg, XEXP (operands[1], 1)); - operands[1] = gen_rtx_fmt_ee (code, VOIDmode, ccreg, const0_rtx); - } - } -) - (define_expand "cc" [(set (match_operand:GPI 0 "register_operand") (if_then_else:GPI (match_operand 1 "aarch64_comparison_operator_cc")