Re: [COMMITTED] Allow ranger queries on exit block.

2022-11-02 Thread Richard Biener via Gcc-patches
On Tue, Nov 1, 2022 at 2:20 PM Andrew MacLeod via Gcc-patches wrote: > > Ranger was not allowing the exit block to be queried for range_on_entry > or exit, for no good reason. This removes that restriction. > > Interestingly, it seems that when we calculate dominance info, GCC does > not set the

[COMMITTED] Allow ranger queries on exit block.

2022-11-01 Thread Andrew MacLeod via Gcc-patches
Ranger was not allowing the exit block to be queried for range_on_entry or exit, for no good reason.  This removes that restriction. Interestingly, it seems that when we calculate dominance info, GCC does not set the dominators for the EXIT_BLOCK?  I worked around it by starting with a single