Commit 2b5936fd by Kazu Hirata Committed by Kazu Hirata

cse.c (delete_trivially_dead_insns): Speed up by minimizing calls to find_reg_note.

	* cse.c (delete_trivially_dead_insns): Speed up by minimizing
	calls to find_reg_note.

From-SVN: r95532
parent 964a9831
2005-02-24 Kazu Hirata <kazu@cs.umass.edu>
* cse.c (delete_trivially_dead_insns): Speed up by minimizing
calls to find_reg_note.
2005-02-24 Richard Henderson <rth@redhat.com>
PR tree-opt/20127
......
......@@ -7329,7 +7329,7 @@ delete_trivially_dead_insns (rtx insns, int nreg)
ndead++;
}
if (find_reg_note (insn, REG_LIBCALL, NULL_RTX))
if (in_libcall && find_reg_note (insn, REG_LIBCALL, NULL_RTX))
{
in_libcall = 0;
dead_libcall = 0;
......
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