* pa/pa.c (secondary_reload_class): Remove duplicate/useless code.
authorJeff Law <law@gcc.gnu.org>
Wed, 2 Oct 1996 17:27:20 +0000 (11:27 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 2 Oct 1996 17:27:20 +0000 (11:27 -0600)
From-SVN: r12888

gcc/config/pa/pa.c

index e8647079612366135ae45d4480bceb32f6c10bfe..59447709b93fa72a0d9e35fe12bed05a383da98b 100644 (file)
@@ -3757,20 +3757,6 @@ secondary_reload_class (class, mode, in)
   else
     regno = -1;
 
-  /* Profiling showed the PA port spends about 1.3% of its compilation
-     time in true_regnum from calls inside secondary_reload_class.  */
-
-  if (GET_CODE (in) == REG)
-    {
-      regno = REGNO (in);
-      if (regno >= FIRST_PSEUDO_REGISTER)
-       regno = true_regnum (in);
-    }
-  else if (GET_CODE (in) == SUBREG)
-    regno = true_regnum (in);
-  else
-    regno = -1;
-
   if (((regno >= FIRST_PSEUDO_REGISTER || regno == -1)
        && GET_MODE_CLASS (mode) == MODE_INT
        && FP_REG_CLASS_P (class))