]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rx: Enable the compare-elim pass.
authorRichard Henderson <rth@redhat.com>
Sat, 22 Jan 2011 19:39:36 +0000 (11:39 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 22 Jan 2011 19:39:36 +0000 (11:39 -0800)
From-SVN: r169133

gcc/ChangeLog
gcc/config/rx/rx.c

index fb069e30b9ee3102321a63b4e2cfa85ff2bb14d3..1dde632ba5b0af8c99861dfd4b0915055aa968de 100644 (file)
@@ -1,5 +1,7 @@
 2011-01-21  Richard Henderson  <rth@redhat.com>
 
+       * config/rx/rx.c (TARGET_FLAGS_REGNUM): New.
+
        * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
 
        * compare-elim.c: New file.
index 54cb7371598655ac3877192ae9a85b5eff39a7b6..9855c625f4dcb60e04c676b72b51cd4a18ec6ae5 100644 (file)
@@ -2902,6 +2902,9 @@ rx_match_ccmode (rtx insn, enum machine_mode cc_mode)
 #undef  TARGET_EXCEPT_UNWIND_INFO
 #define TARGET_EXCEPT_UNWIND_INFO              sjlj_except_unwind_info
 
+#undef  TARGET_FLAGS_REGNUM
+#define TARGET_FLAGS_REGNUM                    CC_REG
+
 struct gcc_target targetm = TARGET_INITIALIZER;
 
 /* #include "gt-rx.h" */