Re: [PATCH] rtl-optimization/109237 - quadraticness in delete_trivially_dead_insns

2023-03-31 Thread Jeff Law via Gcc-patches
On 3/22/23 04:01, Richard Biener via Gcc-patches wrote: The following addresses quadraticness in processing debug insns in delete_trivially_dead_insns and insn_live_p by using TREE_VISITED on the INSN_VAR_LOCATION_DECL to indicate a later debug bind with the same decl and no intervening real i

[PATCH] rtl-optimization/109237 - quadraticness in delete_trivially_dead_insns

2023-03-22 Thread Richard Biener via Gcc-patches
The following addresses quadraticness in processing debug insns in delete_trivially_dead_insns and insn_live_p by using TREE_VISITED on the INSN_VAR_LOCATION_DECL to indicate a later debug bind with the same decl and no intervening real insn or debug marker. That gets rid of the NEXT_INSN walk in i