Commit 60d15bae by Martin Liska Committed by Martin Liska

HSA: enhance dump output

	* hsa-dump.c (dump_hsa_insn_1): dump default branch of SBR
	insns.
	(dump_hsa_symbol): Dump BRIG offset of hsa_symbols.

From-SVN: r234379
parent 2a85ddbb
2016-03-21 Martin Liska <mliska@suse.cz>
* hsa-dump.c (dump_hsa_insn_1): dump default branch of SBR
insns.
(dump_hsa_symbol): Dump BRIG offset of hsa_symbols.
2016-03-21 Martin Liska <mliska@suse.cz>
* ipa-icf.c (sem_function::parse): Skip static
constructors and destructors.
......
......@@ -721,6 +721,9 @@ dump_hsa_symbol (FILE *f, hsa_symbol *symbol)
if (symbol->m_type & BRIG_TYPE_ARRAY_MASK)
fprintf (f, "[%lu]", (unsigned long) symbol->m_dim);
if (symbol->m_directive_offset)
fprintf (f, " /* BRIG offset: %u */", symbol->m_directive_offset);
}
/* Dump textual representation of HSA IL operand OP to file F. */
......@@ -929,7 +932,8 @@ dump_hsa_insn_1 (FILE *f, hsa_insn_basic *insn, int *indent)
fprintf (f, ", ");
}
fprintf (f, "]");
fprintf (f, "] /* default: BB %i */",
hsa_bb_for_bb (sbr->m_default_bb)->m_index);
}
else if (is_a <hsa_insn_arg_block *> (insn))
{
......
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