cse.c (delete_trivially_dead_insns): Also delete insns that copy a register to itself where the destination is a...

* cse.c (delete_trivially_dead_insns): Also delete insns
	that copy a register to itself where the destination is
	a strict_low_part.

From-SVN: r33090
This commit is contained in:
John Wehle 2000-04-12 05:03:32 +00:00 committed by John Wehle
parent 8e3f90945d
commit e8019e47f6
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
* cse.c (delete_trivially_dead_insns): Also delete insns
that copy a register to itself where the destination is
a strict_low_part.
2000-04-11 Richard Henderson <rth@cygnus.com>
* flow.c (struct propagate_block_info): Add new_dead, new_live.

View File

@ -7269,6 +7269,10 @@ delete_trivially_dead_insns (insns, nreg)
&& rtx_equal_p (SET_DEST (PATTERN (insn)),
SET_SRC (PATTERN (insn))))
;
else if (GET_CODE (SET_DEST (PATTERN (insn))) == STRICT_LOW_PART
&& rtx_equal_p (XEXP (SET_DEST (PATTERN (insn)), 0),
SET_SRC (PATTERN (insn))))
;
#ifdef HAVE_cc0
else if (GET_CODE (SET_DEST (PATTERN (insn))) == CC0