Re: [PATCH] tree-optimization/108500 - avoid useless fast-query compute in CFG cleanup

2023-01-24 Thread Jakub Jelinek via Gcc-patches
On Tue, Jan 24, 2023 at 01:37:07PM +0100, Richard Biener wrote: > CFG cleanup computes dominators before the loop over blocks looking > for merging opportunities. That computes also the fast-query DFS > numbers but that's a bit pointless since any CFG cleanup will invalidate > them immediately (th

[PATCH] tree-optimization/108500 - avoid useless fast-query compute in CFG cleanup

2023-01-24 Thread Richard Biener via Gcc-patches
CFG cleanup computes dominators before the loop over blocks looking for merging opportunities. That computes also the fast-query DFS numbers but that's a bit pointless since any CFG cleanup will invalidate them immediately (they are re-computed before fixing up loops). The following avoids this an