]> git.ipfire.org Git - thirdparty/gcc.git/commit
Resolve complicated join nodes in range_from_dom.
authorAndrew MacLeod <amacleod@redhat.com>
Mon, 18 Jul 2022 19:04:23 +0000 (15:04 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Tue, 19 Jul 2022 22:05:49 +0000 (18:05 -0400)
commitdbb093f4f15ea66f2ce5cd2dc1903a6894563356
tree58d2ee0260b022833fbad476b36be28041c75971
parentb0cc57cd76f511f29cab233654249817312ec2a6
Resolve complicated join nodes in range_from_dom.

Join nodes which carry outgoing ranges on incoming edges are uncommon,
but can still be resolved by setting the dominator range, and then
calculating incoming edges.  Avoid doing so if one of the incoing edges
is not dominated by the same dominator.

* gimple-range-cache.cc (ranger_cache::range_from_dom): Check
  for incoming ranges on join nodes and add to worklist.
gcc/gimple-range-cache.cc