Re: [PATCH] rtl-optimization/105559 - avoid quadratic behavior in delete_insn_and_edges

2022-05-11 Thread Jakub Jelinek via Gcc-patches
On Wed, May 11, 2022 at 01:45:13PM +0200, Richard Biener via Gcc-patches wrote: > On Wed, 11 May 2022, Richard Biener wrote: > > > When the insn to delete is a debug insn there's no point in figuring > > out whether it might be the last real insn and thus we have to purge > > dead edges. > > > >

Re: [PATCH] rtl-optimization/105559 - avoid quadratic behavior in delete_insn_and_edges

2022-05-11 Thread Richard Biener via Gcc-patches
On Wed, 11 May 2022, Richard Biener wrote: > When the insn to delete is a debug insn there's no point in figuring > out whether it might be the last real insn and thus we have to purge > dead edges. > > Bootstrap and regtest running on x86_64-unknown-linux-gnu. Actually revisiting PR94618 which

[PATCH] rtl-optimization/105559 - avoid quadratic behavior in delete_insn_and_edges

2022-05-11 Thread Richard Biener via Gcc-patches
When the insn to delete is a debug insn there's no point in figuring out whether it might be the last real insn and thus we have to purge dead edges. Bootstrap and regtest running on x86_64-unknown-linux-gnu. 2022-05-11 Richard Biener PR rtl-optimization/105559 * cfgrtl.cc (de