I apologize, I could have sworn I checked in this patch set... but I see I did not.

re-bootstrapped and regression tested...  and committed now!  you can now invoke the range_query in your patches to check if something is non-zero.

Andrew

On 11/28/24 12:44, Jakub Jelinek wrote:
On Mon, Nov 25, 2024 at 07:55:46PM -0500, Andrew MacLeod wrote:
 From 97bea858ff782dc5c80490bb48cbd3241ad3413c Mon Sep 17 00:00:00 2001
From: Andrew MacLeod <amacl...@redhat.com>
Date: Mon, 25 Nov 2024 09:50:33 -0500
Subject: [PATCH 1/3] Do not calculate an entry range for invariant names.

If an SSA_NAME is invariant, do not calculate an on_entry value.

        PR tree-optimization/117467
        * gimple-range-cache.cc (ranger_cache::entry_range): Do not
        invoke range_from_dom for invariant ssa-names.
LGTM.

        Jakub


Reply via email to