]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add BB option for outgoing_edge_range_p and may_reocmpute_p.
authorAndrew MacLeod <amacleod@redhat.com>
Fri, 3 Dec 2021 15:51:18 +0000 (10:51 -0500)
committerAndrew MacLeod <amacleod@redhat.com>
Mon, 6 Dec 2021 18:14:53 +0000 (13:14 -0500)
commited4a5f571bd3a49c495d1b08b42c8c01833061e6
treeb6b7affca6fb653ad3d43a8bf7d3b310e76723aa
parent2a20407bacbd80662b020f9e11833077fb237115
Add BB option for outgoing_edge_range_p and may_reocmpute_p.

There are times we only need to know if any edge from a block can calculate
a range.

* gimple-range-gori.h (class gori_compute):: Add prototypes.
* gimple-range-gori.cc (gori_compute::has_edge_range_p): Add alternate
API for basic block.  Call for edge alterantive.
(gori_compute::may_recompute_p): Ditto.
gcc/gimple-range-gori.cc
gcc/gimple-range-gori.h