diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2022-03-17 10:52:10 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2022-03-17 16:43:21 -0400 |
commit | 8db155ddf8cec9e31f0a4b8d80cc67db2c7a26f9 (patch) | |
tree | 8f9cf5ab457a7f7cf05830a25745306a909f61d4 /gcc/fortran/openmp.cc | |
parent | 00df7ee4474faca91d3460fe78a88e280c6c1126 (diff) | |
download | gcc-8db155ddf8cec9e31f0a4b8d80cc67db2c7a26f9.zip gcc-8db155ddf8cec9e31f0a4b8d80cc67db2c7a26f9.tar.gz gcc-8db155ddf8cec9e31f0a4b8d80cc67db2c7a26f9.tar.bz2 |
Always use dominators in the cache when available.
This patch adjusts range_from_dom to follow the dominator tree through the
cache until value is found, then apply any outgoing ranges encountered
along the way. This reduces the amount of cache storage required.
PR tree-optimization/102943
* gimple-range-cache.cc (ranger_cache::range_from_dom): Find range via
dominators and apply intermediary outgoing edge ranges.
Diffstat (limited to 'gcc/fortran/openmp.cc')
0 files changed, 0 insertions, 0 deletions