diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2021-06-18 12:33:18 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2021-06-18 17:43:28 -0400 |
commit | 870b674f72d4894b94efa61764fd87ecec29ffde (patch) | |
tree | e03de3865dc9442cb0aff6a29adaf67eab24fab0 /gcc/gimple-range.cc | |
parent | 93022946df2463ad49e3eaa2f6d43c47c16f31c0 (diff) | |
download | gcc-870b674f72d4894b94efa61764fd87ecec29ffde.zip gcc-870b674f72d4894b94efa61764fd87ecec29ffde.tar.gz gcc-870b674f72d4894b94efa61764fd87ecec29ffde.tar.bz2 |
Remove poor value computations.
Remove the old "poor value" approach which made callbacks into ranger
from the cache. Use only the best available value for all propagation.
PR tree-optimization/101014
* gimple-range-cache.cc (ranger_cache::ranger_cache): Remove poor
value list.
(ranger_cache::~ranger_cache): Ditto.
(ranger_cache::enable_new_values): Delete.
(ranger_cache::push_poor_value): Delete.
(ranger_cache::range_of_def): Remove poor value processing.
(ranger_cache::entry_range): Ditto.
(ranger_cache::fill_block_cache): Ditto.
* gimple-range-cache.h (class ranger_cache): Remove poor value members.
* gimple-range.cc (gimple_ranger::range_of_expr): Remove call.
* gimple-range.h (class gimple_ranger): Adjust.
Diffstat (limited to 'gcc/gimple-range.cc')
-rw-r--r-- | gcc/gimple-range.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/gimple-range.cc b/gcc/gimple-range.cc index 624cfb1..0a2c72b 100644 --- a/gcc/gimple-range.cc +++ b/gcc/gimple-range.cc @@ -1167,9 +1167,7 @@ gimple_ranger::range_of_expr (irange &r, tree expr, gimple *stmt) // trigger new value calculations. PR 100781. if (is_gimple_debug (stmt)) { - bool state = m_cache.enable_new_values (false); m_cache.range_of_expr (r, expr, stmt); - m_cache.enable_new_values (state); return true; } basic_block bb = gimple_bb (stmt); |