Commit 1b3e32dc by Kazu Hirata Committed by Kazu Hirata

basic-block.h (PROP_EQUAL_NOTES): Remove.

	* basic-block.h (PROP_EQUAL_NOTES): Remove.
	* flow.c (propagate_one_insn): Don't use PROP_EQUAL_NOTES.

From-SVN: r98193
parent b0f81966
2005-04-15 Kazu Hirata <kazu@cs.umass.edu>
* basic-block.h (PROP_EQUAL_NOTES): Remove.
* flow.c (propagate_one_insn): Don't use PROP_EQUAL_NOTES.
2005-04-15 Andrew MacLeod <amacleod@redhat.com> 2005-04-15 Andrew MacLeod <amacleod@redhat.com>
* tree-vect-analyze.c (vect_stmt_relevant_p): Process immediate uses * tree-vect-analyze.c (vect_stmt_relevant_p): Process immediate uses
......
...@@ -780,7 +780,6 @@ enum update_life_extent ...@@ -780,7 +780,6 @@ enum update_life_extent
#define PROP_ALLOW_CFG_CHANGES 32 /* Allow the CFG to be changed #define PROP_ALLOW_CFG_CHANGES 32 /* Allow the CFG to be changed
by dead code removal. */ by dead code removal. */
#define PROP_AUTOINC 64 /* Create autoinc mem references. */ #define PROP_AUTOINC 64 /* Create autoinc mem references. */
#define PROP_EQUAL_NOTES 128 /* Take into account REG_EQUAL notes. */
#define PROP_SCAN_DEAD_STORES 256 /* Scan for dead code. */ #define PROP_SCAN_DEAD_STORES 256 /* Scan for dead code. */
#define PROP_ASM_SCAN 512 /* Internal flag used within flow.c #define PROP_ASM_SCAN 512 /* Internal flag used within flow.c
to flag analysis of asms. */ to flag analysis of asms. */
......
...@@ -1798,7 +1798,6 @@ propagate_one_insn (struct propagate_block_info *pbi, rtx insn) ...@@ -1798,7 +1798,6 @@ propagate_one_insn (struct propagate_block_info *pbi, rtx insn)
} }
else else
{ {
rtx note;
/* Any regs live at the time of a call instruction must not go /* Any regs live at the time of a call instruction must not go
in a register clobbered by calls. Find all regs now live and in a register clobbered by calls. Find all regs now live and
record this for them. */ record this for them. */
...@@ -1873,10 +1872,6 @@ propagate_one_insn (struct propagate_block_info *pbi, rtx insn) ...@@ -1873,10 +1872,6 @@ propagate_one_insn (struct propagate_block_info *pbi, rtx insn)
/* Record uses. */ /* Record uses. */
if (! insn_is_dead) if (! insn_is_dead)
mark_used_regs (pbi, PATTERN (insn), NULL_RTX, insn); mark_used_regs (pbi, PATTERN (insn), NULL_RTX, insn);
if ((flags & PROP_EQUAL_NOTES)
&& ((note = find_reg_note (insn, REG_EQUAL, NULL_RTX))
|| (note = find_reg_note (insn, REG_EQUIV, NULL_RTX))))
mark_used_regs (pbi, XEXP (note, 0), NULL_RTX, insn);
/* Sometimes we may have inserted something before INSN (such as a move) /* Sometimes we may have inserted something before INSN (such as a move)
when we make an auto-inc. So ensure we will scan those insns. */ when we make an auto-inc. So ensure we will scan those insns. */
......
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