https://gcc.gnu.org/g:1a87deddf470c728e85cc9ca802b51ed2b1efbd6

commit r15-707-g1a87deddf470c728e85cc9ca802b51ed2b1efbd6
Author: Kewen Lin <li...@linux.ibm.com>
Date:   Mon May 20 21:01:07 2024 -0500

    rs6000: Remove useless operands[3]
    
    As shown, three uses of operands[3] are totally useless, so
    this patch is to remove them to avoid any confusion.
    
    gcc/ChangeLog:
    
            * config/rs6000/rs6000.md (@ieee_128bit_vsx_neg<IEEE128>2): Remove
            the use of operands[3].
            (@ieee_128bit_vsx_neg<IEEE128>2): Likewise.
            (*ieee_128bit_vsx_nabs<mode>2): Likewise.

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

diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 7d0019ab410a..f035e68ff0f8 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -9260,7 +9260,6 @@
   if (GET_CODE (operands[2]) == SCRATCH)
     operands[2] = gen_reg_rtx (V16QImode);
 
-  operands[3] = gen_reg_rtx (V16QImode);
   emit_insn (gen_ieee_128bit_negative_zero (operands[2]));
 }
   [(set_attr "length" "8")
@@ -9289,7 +9288,6 @@
   if (GET_CODE (operands[2]) == SCRATCH)
     operands[2] = gen_reg_rtx (V16QImode);
 
-  operands[3] = gen_reg_rtx (V16QImode);
   emit_insn (gen_ieee_128bit_negative_zero (operands[2]));
 }
   [(set_attr "length" "8")
@@ -9321,7 +9319,6 @@
   if (GET_CODE (operands[2]) == SCRATCH)
     operands[2] = gen_reg_rtx (V16QImode);
 
-  operands[3] = gen_reg_rtx (V16QImode);
   emit_insn (gen_ieee_128bit_negative_zero (operands[2]));
 }
   [(set_attr "length" "8")

Reply via email to