https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316
--- Comment #20 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Than McIntosh from comment #19) > Created attachment 46313 [details] > SVG graph from profiling run Do I read this correctly in that all the time spent in PRE is via do_pre_regular_insertion? Or is the profiling imperfect in that the times on get_continuation_for_phi show all invocations of it, not just those via the graph edges coming ultimatively from do_pre_regular_insertion? It looks like we are doing a disproportionally big number of insert iterations here - if you compile with -fdump-statistics-stats you'll get a .statistics dump file showing lines with "insert iterations", can you quote those? (maybe attach this statistics file) On the testcases attached here we do not insert anything btw. I guess you can't really share the original testcase?