[RS6000] Delete code made dead by r250482
authorAlan Modra <amodra@gmail.com>
Wed, 16 Aug 2017 01:28:04 +0000 (10:58 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 16 Aug 2017 01:28:04 +0000 (10:58 +0930)
* config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Delete
dead code.

From-SVN: r251116

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 10ff39e..1476839 100644 (file)
@@ -1,5 +1,10 @@
 2017-08-16  Alan Modra  <amodra@gmail.com>
 
+       * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Delete
+       dead code.
+
+2017-08-16  Alan Modra  <amodra@gmail.com>
+
        * config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p): Merge..
        (save_reg_p): ..into this.  Update all callers.
        (first_reg_to_save): Simplify.
index 5e79933..f9aa13b 100644 (file)
@@ -3241,11 +3241,6 @@ rs6000_init_hard_regno_mode_ok (bool global_init_p)
       rs6000_constraints[RS6000_CONSTRAINT_wy] = VSX_REGS;
       rs6000_constraints[RS6000_CONSTRAINT_ww] = VSX_REGS;
     }
-  else if (TARGET_P8_VECTOR)
-    {
-      rs6000_constraints[RS6000_CONSTRAINT_wy] = FLOAT_REGS;
-      rs6000_constraints[RS6000_CONSTRAINT_ww] = FLOAT_REGS;
-    }
   else if (TARGET_VSX)
     rs6000_constraints[RS6000_CONSTRAINT_ww] = FLOAT_REGS;