mn10300: Enable the compare-elim pass.
authorRichard Henderson <rth@redhat.com>
Sat, 22 Jan 2011 19:37:55 +0000 (11:37 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 22 Jan 2011 19:37:55 +0000 (11:37 -0800)
From-SVN: r169132

gcc/ChangeLog
gcc/config/mn10300/mn10300.c

index 562a1dcd62db3681232f4bf6adc688b93594fafc..fb069e30b9ee3102321a63b4e2cfa85ff2bb14d3 100644 (file)
@@ -1,5 +1,7 @@
 2011-01-21  Richard Henderson  <rth@redhat.com>
 
+       * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
+
        * compare-elim.c: New file.
        * Makefile.in (OBJS-common): Add it.
        (compare-elim.o): New.
index 8a042f658a4e3a1f675aa70f7d4c71c065c1f81a..cbdf02dab226cfd6ba3c51395828864a87a65bdf 100644 (file)
@@ -3021,4 +3021,7 @@ mn10300_split_and_operand_count (rtx op)
 #undef TARGET_MD_ASM_CLOBBERS
 #define TARGET_MD_ASM_CLOBBERS  mn10300_md_asm_clobbers
 
+#undef  TARGET_FLAGS_REGNUM
+#define TARGET_FLAGS_REGNUM  CC_REG
+
 struct gcc_target targetm = TARGET_INITIALIZER;