aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.cc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-12-03 11:02:19 -0500
committerAndrew MacLeod <amacleod@redhat.com>2021-12-06 13:27:10 -0500
commit14dc5b71d7e845be4ac21b16e849d6689df81b67 (patch)
tree5fbb2fe9eca38e8c1debb1f0909876668d36da30 /gcc/value-range.cc
parented4a5f571bd3a49c495d1b08b42c8c01833061e6 (diff)
downloadgcc-14dc5b71d7e845be4ac21b16e849d6689df81b67.zip
gcc-14dc5b71d7e845be4ac21b16e849d6689df81b67.tar.gz
gcc-14dc5b71d7e845be4ac21b16e849d6689df81b67.tar.bz2
Use dominators to reduce cache-flling.
Before walking the CFG and filling all cache entries, check if the same information is available in a dominator. * gimple-range-cache.cc (ranger_cache::fill_block_cache): Check for a range from dominators before filling the cache. (ranger_cache::range_from_dom): New. * gimple-range-cache.h (ranger_cache::range_from_dom): Add prototype.
Diffstat (limited to 'gcc/value-range.cc')
0 files changed, 0 insertions, 0 deletions