Commit 169d13f5 by David Malcolm Committed by David Malcolm

delete_trivially_dead_insns works on insns

2014-08-19  David Malcolm  <dmalcolm@redhat.com>

	* rtl.h (delete_trivially_dead_insns): Strengthen initial param
	"insns" from rtx to rtx_insn *.
	* cse.c (delete_trivially_dead_insns): Likewise, also do it for
	locals "insn" and "prev".

From-SVN: r214185
parent 8942ee0f
2014-08-19 David Malcolm <dmalcolm@redhat.com>
* rtl.h (delete_trivially_dead_insns): Strengthen initial param
"insns" from rtx to rtx_insn *.
* cse.c (delete_trivially_dead_insns): Likewise, also do it for
locals "insn" and "prev".
2014-08-19 David Malcolm <dmalcolm@redhat.com>
* rtl.h (tablejump_p): Strengthen third param from rtx * to
rtx_jump_table_data **.
......
......@@ -6944,10 +6944,10 @@ replace_dead_reg (rtx x, const_rtx old_rtx ATTRIBUTE_UNUSED, void *data)
remaining passes of the compilation are also sped up. */
int
delete_trivially_dead_insns (rtx insns, int nreg)
delete_trivially_dead_insns (rtx_insn *insns, int nreg)
{
int *counts;
rtx insn, prev;
rtx_insn *insn, *prev;
rtx *replacements = NULL;
int ndead = 0;
......
......@@ -3019,7 +3019,7 @@ extern int cse_not_expected;
extern int rtx_to_tree_code (enum rtx_code);
/* In cse.c */
extern int delete_trivially_dead_insns (rtx, int);
extern int delete_trivially_dead_insns (rtx_insn *, int);
extern int exp_equiv_p (const_rtx, const_rtx, int, bool);
extern unsigned hash_rtx (const_rtx x, enum machine_mode, int *, int *, bool);
......
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