diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2021-06-16 18:08:03 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2021-06-16 20:07:40 -0400 |
commit | 786188e8b8cab47cb31177c6f4ab1a1578a607c3 (patch) | |
tree | 00d6d325b4aad8196dbc8defd5ce365b5920f35f /gcc/tree-vectorizer.h | |
parent | 8a22a10c7879109c3906e1b865c50fe236b89f41 (diff) | |
download | gcc-786188e8b8cab47cb31177c6f4ab1a1578a607c3.zip gcc-786188e8b8cab47cb31177c6f4ab1a1578a607c3.tar.gz gcc-786188e8b8cab47cb31177c6f4ab1a1578a607c3.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions