https://gcc.gnu.org/g:05a3346353dce270d8b6ef0d13fe977cf75d1fcb

commit r16-5297-g05a3346353dce270d8b6ef0d13fe977cf75d1fcb
Author: Karl Meakin <[email protected]>
Date:   Fri Oct 17 14:18:30 2025 +0000

    aarch64: Remove unused pattern
    
    The `mov<GPF:mode><GPI:mode>cc` expander was not used anywhere. Delete
    it.
    
    gcc/ChangeLog:
    
            * config/aarch64/aarch64.md (mov<GPF:mode><GPI:mode>cc): Delete.

Diff:
---
 gcc/config/aarch64/aarch64.md | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index 9203609a0686..855df791bae7 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -4816,25 +4816,6 @@
   }
 )
 
-(define_expand "mov<GPF:mode><GPI:mode>cc"
-  [(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 "<neg_not_op><mode>cc"
   [(set (match_operand:GPI 0 "register_operand")
        (if_then_else:GPI (match_operand 1 "aarch64_comparison_operator_cc")

Reply via email to