Re: [PATCH][RFC] More update-ssa speedup

2022-07-07 Thread Jeff Law via Gcc-patches
On 7/7/2022 7:33 AM, Richard Biener via Gcc-patches wrote: When we do TODO_update_ssa_no_phi we already avoid computing dominance frontiers for all blocks - it is worth to also avoid walking all dominated blocks in the update domwalk and restrict the walk to the SEME region with the affected b

[PATCH][RFC] More update-ssa speedup

2022-07-07 Thread Richard Biener via Gcc-patches
When we do TODO_update_ssa_no_phi we already avoid computing dominance frontiers for all blocks - it is worth to also avoid walking all dominated blocks in the update domwalk and restrict the walk to the SEME region with the affected blocks. We can do that by walking the CFG in reverse from blocks