On 2/23/22 02:25, Richard Biener wrote:
On Tue, Feb 22, 2022 at 5:42 PM Andrew MacLeod via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
Ranger currently waits until the end of the VRP pass, then calls
export_global_ranges ().
This method walks the list of ssa-names looking for names which it
thinks should have SSA_NAME_RANGE_INFO updated, and is an artifact of
the on-demand mechanism where there isn't an obvious time to finalize a
name.
The changes for 104288 introduced the register_side_effects method and
do provide a final place where stmt's are processed during the DOMWALK.
This patch exports the global range calculated by the statement (before
processing side effects), and avoids the need for calling the export
method. This is generally better all round I think.
Bootstraps on x86_64-pc-linux-gnu with no regressions. Re-running to
ensure...
OK for trunk? or defer to stage 1?
I'm getting a bit nervous so lets defer to stage 1 unless a P1 fix
requires this.
Me too, so good :-)