Re: [PATCH] Fix PR93199, quadraticness in cleanup_all_empty_eh

2020-01-10 Thread Jakub Jelinek
On Fri, Jan 10, 2020 at 11:23:34AM +0100, Richard Biener wrote: > > The following manages to avoid high EH indegree of landing pads > during the sequence of cleaning up empty EH with a chain of those. > By walking the landing pads in reverse order we mimic walking of > the EH tree depth-first (whi

[PATCH] Fix PR93199, quadraticness in cleanup_all_empty_eh

2020-01-10 Thread Richard Biener
The following manages to avoid high EH indegree of landing pads during the sequence of cleaning up empty EH with a chain of those. By walking the landing pads in reverse order we mimic walking of the EH tree depth-first (which I am too lazy to write...). It looks like EH build assures that this