aboutsummaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/gcc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-04-16 17:08:51 -0400
committerAndrew MacLeod <amacleod@redhat.com>2021-04-19 15:49:04 -0400
commit329d2f0df7d6d22c87ab3338b94caef68139cd58 (patch)
treef70ab418e58c0ff0b6008744c9a4f7f5becd4cb2 /libphobos/libdruntime/gcc
parentdc7d1c74ffb1cc85e67984632f581d526c783770 (diff)
downloadgcc-329d2f0df7d6d22c87ab3338b94caef68139cd58.zip
gcc-329d2f0df7d6d22c87ab3338b94caef68139cd58.tar.gz
gcc-329d2f0df7d6d22c87ab3338b94caef68139cd58.tar.bz2
tree-optimization/100081 - Limit depth of logical expression windback.
Limit how many logical expressions GORI will look back through when evaluating outgoing edge range. PR tree-optimization/100081 * gimple-range-cache.h (ranger_cache): Inherit from gori_compute rather than gori_compute_cache. * gimple-range-gori.cc (is_gimple_logical_p): Move to top of file. (range_def_chain::m_logical_depth): New member. (range_def_chain::range_def_chain): Initialize m_logical_depth. (range_def_chain::get_def_chain): Don't build defchains through more than LOGICAL_LIMIT logical expressions. * params.opt (param_ranger_logical_depth): New.
Diffstat (limited to 'libphobos/libdruntime/gcc')
0 files changed, 0 insertions, 0 deletions