Commit 9a5a17f3 by Paolo Bonzini Committed by Paolo Bonzini

combine.c (try_combine): Do not refer to is_replaced.

2004-03-01  Paolo Bonzini  <bonzini@gnu.org>

        * combine.c (try_combine):  Do not refer to is_replaced.
        (gen_lowpart_for_combine):  Perverse subregs now have a
        more politically correct name.
        * cse.c (cse_insn): Likewise.
        * jump.c: Fix bogus reference to delete_insn.

From-SVN: r78698
parent 8983e50e
2004-03-01 Paolo Bonzini <bonzini@gnu.org>
* combine.c (try_combine): Do not refer to is_replaced.
(gen_lowpart_for_combine): Perverse subregs now have a
more politically correct name.
* cse.c (cse_insn): Likewise.
* jump.c: Fix bogus reference to delete_insn.
2004-02-29 Mark Mitchell <mark@codesourcery.com> 2004-02-29 Mark Mitchell <mark@codesourcery.com>
PR debug/14328 PR debug/14328
......
...@@ -1822,9 +1822,7 @@ try_combine (rtx i3, rtx i2, rtx i1, int *new_direct_jump_p) ...@@ -1822,9 +1822,7 @@ try_combine (rtx i3, rtx i2, rtx i1, int *new_direct_jump_p)
if (flag_expensive_optimizations) if (flag_expensive_optimizations)
{ {
/* Pass pc_rtx so no substitutions are done, just simplifications. /* Pass pc_rtx so no substitutions are done, just simplifications. */
The cases that we are interested in here do not involve the few
cases were is_replaced is checked. */
if (i1) if (i1)
{ {
subst_low_cuid = INSN_CUID (i1); subst_low_cuid = INSN_CUID (i1);
...@@ -10049,7 +10047,7 @@ gen_lowpart_for_combine (enum machine_mode mode, rtx x) ...@@ -10049,7 +10047,7 @@ gen_lowpart_for_combine (enum machine_mode mode, rtx x)
return gen_rtx_CLOBBER (GET_MODE (x), const0_rtx); return gen_rtx_CLOBBER (GET_MODE (x), const0_rtx);
/* If we want to refer to something bigger than the original memref, /* If we want to refer to something bigger than the original memref,
generate a perverse subreg instead. That will force a reload generate a paradoxical subreg instead. That will force a reload
of the original memref X. */ of the original memref X. */
if (GET_MODE_SIZE (GET_MODE (x)) < GET_MODE_SIZE (mode)) if (GET_MODE_SIZE (GET_MODE (x)) < GET_MODE_SIZE (mode))
return gen_rtx_SUBREG (mode, x, 0); return gen_rtx_SUBREG (mode, x, 0);
......
...@@ -5031,7 +5031,7 @@ cse_insn (rtx insn, rtx libcall_insn) ...@@ -5031,7 +5031,7 @@ cse_insn (rtx insn, rtx libcall_insn)
/* It is no longer clear why we used to do this, but it doesn't /* It is no longer clear why we used to do this, but it doesn't
appear to still be needed. So let's try without it since this appear to still be needed. So let's try without it since this
code hurts cse'ing widened ops. */ code hurts cse'ing widened ops. */
/* If source is a perverse subreg (such as QI treated as an SI), /* If source is a paradoxical subreg (such as QI treated as an SI),
treat it as volatile. It may do the work of an SI in one context treat it as volatile. It may do the work of an SI in one context
where the extra bits are not being used, but cannot replace an SI where the extra bits are not being used, but cannot replace an SI
in general. */ in general. */
......
...@@ -31,7 +31,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -31,7 +31,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
formerly used them. The JUMP_LABEL info is sometimes looked formerly used them. The JUMP_LABEL info is sometimes looked
at by later passes. at by later passes.
The subroutines delete_insn, redirect_jump, and invert_jump are used The subroutines redirect_jump and invert_jump are used
from other passes as well. */ from other passes as well. */
#include "config.h" #include "config.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment