Print entry count in print_loop_info
gcc/ChangeLog: * tree-cfg.cc (print_loop_info): Print entry count.
This commit is contained in:
parent
d6ac3aae2a
commit
4a0633d4d4
1 changed files with 2 additions and 1 deletions
|
@ -8562,9 +8562,10 @@ print_loop_info (FILE *file, const class loop *loop, const char *prefix)
|
|||
sreal iterations;
|
||||
if (loop->num && expected_loop_iterations_by_profile (loop, &iterations, &reliable))
|
||||
{
|
||||
fprintf (file, "\n%siterations by profile: %f (%s%s)", prefix,
|
||||
fprintf (file, "\n%siterations by profile: %f (%s%s) entry count:", prefix,
|
||||
iterations.to_double (), reliable ? "reliable" : "unreliable",
|
||||
maybe_flat_loop_profile (loop) ? ", maybe flat" : "");
|
||||
loop_count_in (loop).dump (dump_file, cfun);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue