(rs6000_convert_preincs): Delete.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 16 May 1994 20:27:09 +0000 (16:27 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 16 May 1994 20:27:09 +0000 (16:27 -0400)
From-SVN: r7310

gcc/config/rs6000/rs6000.c

index 06c216f01dbc6e7bea6cb34c18c9d573cfcc857c..37191e78b5f735d92b65a73ecb2894a1618621e3 100644 (file)
@@ -173,34 +173,6 @@ rs6000_override_options ()
     }
 }
 \f
-/* Look for an PRE_INC address in X that are marked as dying in INSN.
-   Convert the addresses to a PLUS form if one is found.  */
-
-void
-rs6000_convert_preincs (x, insn)
-     rtx x;
-     rtx insn;
-{
-  enum rtx_code code = GET_CODE (x);
-  char *fmt;
-  int i, j;
-
-  if (code == MEM && GET_CODE (XEXP (x, 0)) == PRE_INC
-      && find_reg_note (insn, REG_DEAD, XEXP (XEXP (x, 0), 0)))
-    XEXP (x, 0) = plus_constant (XEXP (XEXP (x, 0), 0),
-                                GET_MODE_SIZE (GET_MODE (x)));
-  else
-    for (i = GET_RTX_LENGTH (code) - 1, fmt = GET_RTX_FORMAT (code);
-        i >= 0; i--)
-      {
-       if (fmt[i] == 'e')
-         rs6000_convert_preincs (XEXP (x, i), insn);
-       else if (fmt[i] == 'E')
-         for (j = XVECLEN (x, i) - 1; j >= 0; j--)
-           rs6000_convert_preincs (XVECEXP (x, i, j), insn);
-      }
-}
-\f
 /* Return non-zero if this function is known to have a null epilogue.  */
 
 int