]> gcc.gnu.org Git - gcc.git/commit
Limit new value calculations to first order effects.
authorAndrew MacLeod <amacleod@redhat.com>
Mon, 14 Jun 2021 19:33:59 +0000 (15:33 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Mon, 14 Jun 2021 21:06:32 +0000 (17:06 -0400)
commitecc5644fa3bc7f37eada2a3e9c627cd1918922e0
tree98111eb5fd9cdebca136300ce17bd8d2372efa68
parentc37b5ddcc88e0cc0f6a4ad609eda51021df0f6bb
Limit new value calculations to first order effects.

When utilzing poor values during propagation, we mostly care about values that
were undefined/processed directly used in calcualting the SSA_NAME being
processed.  2nd level derivations of such poor values rarely affect the
inital calculation.  Leave them to when they are directly encountered.

* gimple-range-cache.cc (ranger_cache::ranger_cache): Adjust.
(ranger_cache::enable_new_values): Set to specified value and
return the old value.
(ranger_cache::disable_new_values): Delete.
(ranger_cache::fill_block_cache): Disable non 1st order derived
poor values.
* gimple-range-cache.h (ranger_cache): Adjust prototypes.
* gimple-range.cc (gimple_ranger::range_of_expr): Adjust.
gcc/gimple-range-cache.cc
gcc/gimple-range-cache.h
gcc/gimple-range.cc
This page took 0.055888 seconds and 5 git commands to generate.