aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2022-07-08 13:30:49 -0400
committerAndrew MacLeod <amacleod@redhat.com>2022-07-11 14:41:15 -0400
commit12a9b98ac574bc8092a75849b5c462135d35c31d (patch)
tree6792f832b6de61c53b8e63b09ecf6cbe6abc596e /libgomp
parentc3ed9e0d6e96d8697e4bab994f8acbc5506240ee (diff)
downloadgcc-12a9b98ac574bc8092a75849b5c462135d35c31d.zip
gcc-12a9b98ac574bc8092a75849b5c462135d35c31d.tar.gz
gcc-12a9b98ac574bc8092a75849b5c462135d35c31d.tar.bz2
Avoid calling range_from_dom when dominator is already resolved.
range_from_dom makes a recursive call to resolve the immediate dominator when there are multiple incoming edges to a block. This is not necessary when the dominator already has an on-entry cache value. PR tree-optimization/106234 * gimple-range-cache.cc (ranger_cache::range_from_dom): Check dominator cache value before recursively resolving it.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions