Commit d01da8bd by Kazu Hirata Committed by Kazu Hirata

df.c (df_def_record_1, [...]): Don't use DF_FOR_REGALLOC.

	* df.c (df_def_record_1, df_uses_record): Don't use
	DF_FOR_REGALLOC.
	* df.h (DF_FOR_REGALLOC): Remove.

From-SVN: r94608
parent 8a532804
2005-02-02 Kazu Hirata <kazu@cs.umass.edu>
* df.c (df_def_record_1, df_uses_record): Don't use
DF_FOR_REGALLOC.
* df.h (DF_FOR_REGALLOC): Remove.
2005-02-02 Joseph S. Myers <joseph@codesourcery.com> 2005-02-02 Joseph S. Myers <joseph@codesourcery.com>
PR c/19435 PR c/19435
......
...@@ -913,8 +913,7 @@ df_def_record_1 (struct df *df, rtx x, basic_block bb, rtx insn) ...@@ -913,8 +913,7 @@ df_def_record_1 (struct df *df, rtx x, basic_block bb, rtx insn)
be handy for the reg allocator. */ be handy for the reg allocator. */
while (GET_CODE (dst) == STRICT_LOW_PART while (GET_CODE (dst) == STRICT_LOW_PART
|| GET_CODE (dst) == ZERO_EXTRACT || GET_CODE (dst) == ZERO_EXTRACT
|| ((df->flags & DF_FOR_REGALLOC) == 0 || read_modify_subreg_p (dst))
&& read_modify_subreg_p (dst)))
{ {
/* Strict low part always contains SUBREG, but we do not want to make /* Strict low part always contains SUBREG, but we do not want to make
it appear outside, as whole register is always considered. */ it appear outside, as whole register is always considered. */
...@@ -1025,8 +1024,7 @@ df_uses_record (struct df *df, rtx *loc, enum df_ref_type ref_type, ...@@ -1025,8 +1024,7 @@ df_uses_record (struct df *df, rtx *loc, enum df_ref_type ref_type,
switch (GET_CODE (dst)) switch (GET_CODE (dst))
{ {
case SUBREG: case SUBREG:
if ((df->flags & DF_FOR_REGALLOC) == 0 if (read_modify_subreg_p (dst))
&& read_modify_subreg_p (dst))
{ {
df_uses_record (df, &SUBREG_REG (dst), DF_REF_REG_USE, bb, df_uses_record (df, &SUBREG_REG (dst), DF_REF_REG_USE, bb,
insn, DF_REF_READ_WRITE); insn, DF_REF_READ_WRITE);
......
...@@ -37,7 +37,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -37,7 +37,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#define DF_ALL 255 #define DF_ALL 255
#define DF_HARD_REGS 1024 /* Mark hard registers. */ #define DF_HARD_REGS 1024 /* Mark hard registers. */
#define DF_EQUIV_NOTES 2048 /* Mark uses present in EQUIV/EQUAL notes. */ #define DF_EQUIV_NOTES 2048 /* Mark uses present in EQUIV/EQUAL notes. */
#define DF_FOR_REGALLOC 4096 /* If called for the register allocator. */
enum df_ref_type {DF_REF_REG_DEF, DF_REF_REG_USE, DF_REF_REG_MEM_LOAD, enum df_ref_type {DF_REF_REG_DEF, DF_REF_REG_USE, DF_REF_REG_MEM_LOAD,
DF_REF_REG_MEM_STORE}; DF_REF_REG_MEM_STORE};
......
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