loop_optimizer_init (LOOPS_NORMAL) already performs this (quite
expensive) marking.
2021-04-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/100222
* predict.c (pass_profile::execute): Remove redundant call to
mark_irreducible_loops.
(report_predictor_hitrates): Likewise.
if (dump_file && (dump_flags & TDF_DETAILS))
flow_loops_dump (dump_file, NULL, 0);
- mark_irreducible_loops ();
-
nb_loops = number_of_loops (fun);
if (nb_loops > 1)
scev_initialize ();
if (dump_file && (dump_flags & TDF_DETAILS))
flow_loops_dump (dump_file, NULL, 0);
- mark_irreducible_loops ();
-
nb_loops = number_of_loops (cfun);
if (nb_loops > 1)
scev_initialize ();