Calculate a global definition if one has not been registered.
authorAndrew MacLeod <amacleod@redhat.com>
Fri, 18 Jun 2021 16:52:10 +0000 (12:52 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Fri, 18 Jun 2021 21:43:28 +0000 (17:43 -0400)
commitcb448ade74da1de1633e6ed97f8c5ecbac24b27a
treeab676b12f7b13494ec52c40404e9ae28947c4ca5
parent870b674f72d4894b94efa61764fd87ecec29ffde
Calculate a global definition if one has not been registered.

With poor values gone, Pick up range restrictions from statements
by folding them with global cache values.

* gimple-range-cache.cc (ranger_cache::range_of_def):  Calculate
a range if global is not available.
(ranger_cache::entry_range): Fallback to range_of_def.
* gimple-range-cache.h (range_of_def): Adjust prototype.
gcc/gimple-range-cache.cc
gcc/gimple-range-cache.h