diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2022-07-08 13:30:49 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2022-07-11 14:41:15 -0400 |
commit | 12a9b98ac574bc8092a75849b5c462135d35c31d (patch) | |
tree | 6792f832b6de61c53b8e63b09ecf6cbe6abc596e /libgomp | |
parent | c3ed9e0d6e96d8697e4bab994f8acbc5506240ee (diff) | |
download | gcc-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