+2016-02-29 Martin Liska <mliska@suse.cz>
+
+ * hsa-gen.c (gen_body_from_gimple): Dump only if TDF_DETAILS
+ is presented in dump flags.
+ * hsa-regalloc.c (linear_scan_regalloc): Likewise.
+ (hsa_regalloc): Likewise.
+
2016-02-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/69980
gen_hsa_phi_from_gimple_phi (gsi_stmt (gsi), hbb);
}
- if (dump_file)
+ if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "------- Generated SSA form -------\n");
dump_hsa_cfun (dump_file);
spill_at_interval (reg, active);
/* Some interesting dumping as we go. */
- if (dump_file)
+ if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " reg%d: [%5d, %5d)->",
reg->m_order, reg->m_lr_begin, reg->m_lr_end);
BITMAP_FREE (work);
free (bbs);
- if (dump_file)
+ if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "------- After liveness: -------\n");
dump_hsa_cfun_regalloc (dump_file);
{
naive_outof_ssa ();
- if (dump_file)
+ if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "------- After out-of-SSA: -------\n");
dump_hsa_cfun (dump_file);
regalloc ();
- if (dump_file)
+ if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "------- After register allocation: -------\n");
dump_hsa_cfun (dump_file);