combine.c (try_combine): Dump information about the insns we're combining.

* combine.c (try_combine): Dump information about the insns we're
	combining.

From-SVN: r148828
This commit is contained in:
Adam Nemet 2009-06-23 00:35:24 +00:00 committed by Adam Nemet
parent cfb8805e0f
commit 28a5fb2ee6
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-06-22 Adam Nemet <anemet@caviumnetworks.com>
* combine.c (try_combine): Dump information about the insns we're
combining.
2009-06-22 Adam Nemet <anemet@caviumnetworks.com>
* combine.c (combine_simplify_rtx): Remove TRULY_NOOP_TRUNCATION

View File

@ -2256,6 +2256,16 @@ try_combine (rtx i3, rtx i2, rtx i1, int *new_direct_jump_p)
/* Reset the hard register usage information. */
CLEAR_HARD_REG_SET (newpat_used_regs);
if (dump_file && (dump_flags & TDF_DETAILS))
{
if (i1)
fprintf (dump_file, "\nTrying %d, %d -> %d:\n",
INSN_UID (i1), INSN_UID (i2), INSN_UID (i3));
else
fprintf (dump_file, "\nTrying %d -> %d:\n",
INSN_UID (i2), INSN_UID (i3));
}
/* If I1 and I2 both feed I3, they can be in any order. To simplify the
code below, set I1 to be the earlier of the two insns. */
if (i1 && DF_INSN_LUID (i1) > DF_INSN_LUID (i2))