On Fri, Jan 10, 2020 at 10:47:32AM +0100, Richard Biener wrote:
> 
> The following patch addresses the quadraticness when sinking
> clobbers across a long chain of "empty" EH landing pads one
> pad at a time, walking the chain of clobbers that becomes longer
> and longer repeatedly.  The idea is simply to record sunk clobbers
> off-IL to avoid the need to re-analyze them.
> 
> Bootstrapped and tested on x86_64-unknown-linux-gnu.
> 
> This shifts the quadraticness elsewhere (empty LP cleanup,
> patch for that testing).
> 
> OK?
> 
> Thanks,
> Richard.
> 
> 2020-01-10  Richard Biener  <rguent...@suse.de>
> 
>       PR middle-end/93199
>       * tree-eh.c (sink_clobbers): Move clobbers to out-of-IL
>       sequences to avoid walking them again for secondary opportunities.
>       (pass_lower_eh_dispatch::execute): Instead actually insert
>       them here.

LGTM, thanks.

        Jakub

Reply via email to