rs6000.c (rs6000_legitimate_combined_insn): Updated with the new names of the branch...
authorAaron Sawdey <acsawdey@gcc.gnu.org>
Mon, 8 Jan 2018 16:35:31 +0000 (10:35 -0600)
committerAaron Sawdey <acsawdey@gcc.gnu.org>
Mon, 8 Jan 2018 16:35:31 +0000 (10:35 -0600)
* config/rs6000/rs6000.c (rs6000_legitimate_combined_insn): Updated
with the new names of the branch decrement patterns, and added the
names of the branch decrement conditional patterns.

From-SVN: r256347

gcc/config/rs6000/rs6000.c

index 46e00dd9a1bb26a2bc8b6c5ac795605218b315f5..03db5afe462ce77c5b2e718779b4a4f981275834 100644 (file)
@@ -9072,10 +9072,14 @@ rs6000_legitimate_combined_insn (rtx_insn *insn)
      for the difficult case.  It's better to not create problems
      in the first place.  */
   if (icode != CODE_FOR_nothing
-      && (icode == CODE_FOR_ctrsi_internal1
-         || icode == CODE_FOR_ctrdi_internal1
-         || icode == CODE_FOR_ctrsi_internal2
-         || icode == CODE_FOR_ctrdi_internal2))
+      && (icode == CODE_FOR_bdz_si
+         || icode == CODE_FOR_bdz_di
+         || icode == CODE_FOR_bdnz_si
+         || icode == CODE_FOR_bdnz_di
+         || icode == CODE_FOR_bdztf_si
+         || icode == CODE_FOR_bdztf_di
+         || icode == CODE_FOR_bdnztf_si
+         || icode == CODE_FOR_bdnztf_di))
     return false;
 
   return true;