Commit 3ce7c5a2 by Jeffrey A Law Committed by Jeff Law

flow.c (mark_set_1): Do not record BLKmode stores as dead store elimination candidates.

�
        * flow.c (mark_set_1): Do not record BLKmode stores as dead
        store elimination candidates.

From-SVN: r27140
parent c2c08b29
Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
* flow.c (mark_set_1): Do not record BLKmode stores as dead
store elimination candidates.
Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com> Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
* config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
......
...@@ -3258,6 +3258,9 @@ mark_set_1 (needed, dead, x, insn, significant) ...@@ -3258,6 +3258,9 @@ mark_set_1 (needed, dead, x, insn, significant)
invalidate_mems_from_autoinc (insn); invalidate_mems_from_autoinc (insn);
if (GET_CODE (reg) == MEM && ! side_effects_p (reg) if (GET_CODE (reg) == MEM && ! side_effects_p (reg)
/* We do not know the size of a BLKmode store, so we do not track
them for redundant store elimination. */
&& GET_MODE (reg) != BLKmode
/* There are no REG_INC notes for SP, so we can't assume we'll see /* There are no REG_INC notes for SP, so we can't assume we'll see
everything that invalidates it. To be safe, don't eliminate any everything that invalidates it. To be safe, don't eliminate any
stores though SP; none of them should be redundant anyway. */ stores though SP; none of them should be redundant anyway. */
......
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