aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2009-06-23 00:35:24 +0000
committerAdam Nemet <nemet@gcc.gnu.org>2009-06-23 00:35:24 +0000
commit28a5fb2ee6edc58934e787632930c7c589d2047f (patch)
tree3dd22054e01286522f849b1560ef662126a70914 /gcc/combine.c
parentcfb8805e0fcee71ebffd091b62d36f035dfdf268 (diff)
downloadgcc-28a5fb2ee6edc58934e787632930c7c589d2047f.zip
gcc-28a5fb2ee6edc58934e787632930c7c589d2047f.tar.gz
gcc-28a5fb2ee6edc58934e787632930c7c589d2047f.tar.bz2
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
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index abe43b9..b8c080c 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -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))