]> gcc.gnu.org Git - gcc.git/commit
Add recomputation to outgoing_edge_range.
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 16 Jun 2021 22:08:03 +0000 (18:08 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Thu, 17 Jun 2021 00:07:40 +0000 (20:07 -0400)
commit786188e8b8cab47cb31177c6f4ab1a1578a607c3
tree00d6d325b4aad8196dbc8defd5ce365b5920f35f
parent8a22a10c7879109c3906e1b865c50fe236b89f41
Add recomputation to outgoing_edge_range.

The gori engine can calculate outgoing ranges for exported values.  This
change allows 1st degree recomputation.  If a name is not exported from a
block, but one of the ssa_names used directly in computing it is, then
we can recompute the ssa_name on the edge using the edge values for its
operands.

* gimple-range-gori.cc (gori_compute::has_edge_range_p): Check with
may_recompute_p.
(gori_compute::may_recompute_p): New.
(gori_compute::outgoing_edge_range_p): Perform recomputations.
* gimple-range-gori.h (class gori_compute): Add prototype.
gcc/gimple-range-gori.cc
gcc/gimple-range-gori.h
This page took 0.053899 seconds and 5 git commands to generate.