aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.cc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2022-07-29 12:05:38 -0400
committerAndrew MacLeod <amacleod@redhat.com>2022-08-02 14:18:57 -0400
commit87dd4c8c83768aafad92588853fd84a6070553d6 (patch)
tree4e9d2ab597312152acb922b7bac4db6ae585a33a /gcc/alias.cc
parent5df04a7aa837a13b0e14d269c37bd3871d86bf08 (diff)
downloadgcc-87dd4c8c83768aafad92588853fd84a6070553d6.zip
gcc-87dd4c8c83768aafad92588853fd84a6070553d6.tar.gz
gcc-87dd4c8c83768aafad92588853fd84a6070553d6.tar.bz2
Check equivalencies when calculating range on entry.
When propagating on-entry values in the cache, checking if any equivalence has a known value can improve results. No new calculations are made. Only queries via dominators which do not populate the cache are checked. PR tree-optimization/106474 gcc/ * gimple-range-cache.cc (ranger_cache::fill_block_cache): Query range of equivalences that may contribute to the range. gcc/testsuite/ * g++.dg/pr106474.C: New.
Diffstat (limited to 'gcc/alias.cc')
0 files changed, 0 insertions, 0 deletions