+2017-11-17 Jan Hubicka <hubicka@ucw.cz>
+
+ * cgraph.c (cgraph_node::dump): Do IPA sanity checking on IPA counts.
+
2017-11-17 Steve Ellcey <sellcey@cavium.com>
* config/aarch64/aarch64-simd.md (fnma<mode>4): Move neg operator
fprintf (f, "%s ", edge->caller->dump_name ());
edge->dump_edge_flags (f);
if (edge->count.initialized_p ())
- sum += edge->count;
+ sum += edge->count.ipa ();
}
fprintf (f, "\n Calls: ");
if (global.inlined_to
|| (symtab->state < EXPANSION
&& ultimate_alias_target () == this && only_called_directly_p ()))
- ok = !count.differs_from_p (sum);
+ ok = !count.ipa ().differs_from_p (sum);
else if (count.ipa () > profile_count::from_gcov_type (100)
&& count.ipa () < sum.apply_scale (99, 100))
ok = false, min = true;
fprintf (f, ", should be at most ");
else
fprintf (f, ", should be ");
- count.dump (f);
+ count.ipa ().dump (f);
fprintf (f, "\n");
}
}