gcse.c (pre_delete): Remove references to regmove from comments.
authorSteven Bosscher <steven@gcc.gnu.org>
Sat, 2 Nov 2013 00:26:48 +0000 (00:26 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sat, 2 Nov 2013 00:26:48 +0000 (00:26 +0000)
* gcse.c (pre_delete): Remove references to regmove from comments.
* recog.c: (validate_replace_rtx_1): Likewise.
* config/rl78/rl78.c: Likewise.
* config/v850/v850.h: Likewise, and remove unused ENABLE_REGMOVE_PASS.
* common/config/m32r/m32r-common.c: Don't manipulate OPT_fregmove.
* common/config/mmix/mmix-common.c: Likewise.

From-SVN: r204309

gcc/ChangeLog
gcc/common/config/m32r/m32r-common.c
gcc/common/config/mmix/mmix-common.c
gcc/config/rl78/rl78.c
gcc/config/v850/v850.h
gcc/gcse.c
gcc/recog.c

index 6bdaa313d8b70fa1a332853ed272d03bf1af15b0..52b0aabc1d3eef8598bf033a99554c17f82bf8b3 100644 (file)
@@ -1,3 +1,12 @@
+2013-11-02  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * gcse.c (pre_delete): Remove references to regmove from comments.
+       * recog.c: (validate_replace_rtx_1): Likewise.
+       * config/rl78/rl78.c: Likewise.
+       * config/v850/v850.h: Likewise, and remove unused ENABLE_REGMOVE_PASS.
+       * common/config/m32r/m32r-common.c: Don't manipulate OPT_fregmove.
+       * common/config/mmix/mmix-common.c: Likewise.
+
 2013-11-01  Trevor Saunders  <tsaunders@mozilla.com>
 
        * function.c (reorder_blocks): Convert block_stack to a stack_vec.
index 1a0df4063065db12120384530b33a48d2af7807c..f8df5a847fdd27495de9f2de57db6b866dd3df43 100644 (file)
@@ -29,7 +29,6 @@
 static const struct default_options m32r_option_optimization_table[] =
   {
     { OPT_LEVELS_1_PLUS, OPT_fomit_frame_pointer, NULL, 1 },
-    { OPT_LEVELS_1_PLUS, OPT_fregmove, NULL, 1 },
     { OPT_LEVELS_NONE, 0, NULL, 0 }
   };
 
index ebc8948024077337d112df60e2f7e74e7b6474ec..54acb4d892b006276692b91fb063b7859294bc9c 100644 (file)
@@ -28,7 +28,6 @@ along with GCC; see the file COPYING3.  If not see
 
 static const struct default_options mmix_option_optimization_table[] =
   {
-    { OPT_LEVELS_1_PLUS, OPT_fregmove, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_fomit_frame_pointer, NULL, 1 },
     { OPT_LEVELS_NONE, 0, NULL, 0 }
   };
index 995f3b1754da6c2e3635e4f34f32591105811328..f071e31daf287b180188bedea616dcfbc978758c 100644 (file)
@@ -1894,8 +1894,8 @@ post-reload optimizers could operate on the real registers, but when I
 tried that there were some issues building the target libraries.
 
 During devirtualization, a simple register move optimizer is run.  It
-would be better to run a full CSE/propogation pass on it through, or
-re-run regmove, but that has not yet been attempted.
+would be better to run a full CSE/propogation pass on it though, but
+that has not yet been attempted.
 
  */
 #define DEBUG_ALLOC 0
index e08c6220eacbe8caa0a917ecf4b4c858b2cf2ba7..9b5053337f59b95a64da86beb8d7be45a8f4856b 100644 (file)
@@ -954,10 +954,6 @@ extern tree GHS_current_section_names [(int) COUNT_OF_GHS_SECTION_KINDS];
 
 #define FILE_ASM_OP "\t.file\n"
 
-/* Enable the register move pass to improve code.  */
-#define ENABLE_REGMOVE_PASS
-
-
 /* Implement ZDA, TDA, and SDA */
 
 #define EP_REGNUM 30   /* ep register number */
index bb9ba15ea8b0eca27f0f1b75dcb1468ff32d4c5c..571e8788c83db469d06876e2b9c1e2ea94e9ea36 100644 (file)
@@ -2535,7 +2535,7 @@ gcse_emit_move_after (rtx dest, rtx src, rtx insn)
 /* Delete redundant computations.
    Deletion is done by changing the insn to copy the `reaching_reg' of
    the expression into the result of the SET.  It is left to later passes
-   (cprop, cse2, flow, combine, regmove) to propagate the copy or eliminate it.
+   to propagate the copy or eliminate it.
 
    Return nonzero if a change is made.  */
 
index 14a1e7af09311e22c60783510550a1279b0993c6..c8594bb59044577d67adc655264b5bd4ceade272 100644 (file)
@@ -726,7 +726,7 @@ validate_replace_rtx_1 (rtx *loc, rtx from, rtx to, rtx object,
   /* Call ourself recursively to perform the replacements.
      We must not replace inside already replaced expression, otherwise we
      get infinite recursion for replacements like (reg X)->(subreg (reg X))
-     done by regmove, so we must special case shared ASM_OPERANDS.  */
+     so we must special case shared ASM_OPERANDS.  */
 
   if (GET_CODE (x) == PARALLEL)
     {
@@ -762,6 +762,7 @@ validate_replace_rtx_1 (rtx *loc, rtx from, rtx to, rtx object,
   if (num_changes == prev_changes)
     return;
 
+  /* ??? The regmove is no more, so is this aberration still necessary?  */
   /* Allow substituted expression to have different mode.  This is used by
      regmove to change mode of pseudo register.  */
   if (fmt[0] == 'e' && GET_MODE (XEXP (x, 0)) != VOIDmode)