aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range.h
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-06-18 12:33:18 -0400
committerAndrew MacLeod <amacleod@redhat.com>2021-06-18 17:43:28 -0400
commit870b674f72d4894b94efa61764fd87ecec29ffde (patch)
treee03de3865dc9442cb0aff6a29adaf67eab24fab0 /gcc/gimple-range.h
parent93022946df2463ad49e3eaa2f6d43c47c16f31c0 (diff)
downloadgcc-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.h')
-rw-r--r--gcc/gimple-range.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/gimple-range.h b/gcc/gimple-range.h
index 9ac779a..fc28123 100644
--- a/gcc/gimple-range.h
+++ b/gcc/gimple-range.h
@@ -58,7 +58,6 @@ along with GCC; see the file COPYING3. If not see
class gimple_ranger : public range_query
{
public:
- gimple_ranger () : m_cache (*this) { }
virtual bool range_of_stmt (irange &r, gimple *, tree name = NULL) OVERRIDE;
virtual bool range_of_expr (irange &r, tree name, gimple * = NULL) OVERRIDE;
virtual bool range_on_edge (irange &r, edge e, tree name) OVERRIDE;