aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-01-25 13:31:46 +0100
committerRichard Biener <rguenther@suse.de>2023-01-25 13:37:23 +0100
commitc29d85359add807200a1a851026b4e4a9d6b714c (patch)
tree145ca6779497b995647b3e4786414b3df9406b5a /gcc/gcc.cc
parent64f66385086e6a957c337eef97aec01cf30c162d (diff)
downloadgcc-c29d85359add807200a1a851026b4e4a9d6b714c.zip
gcc-c29d85359add807200a1a851026b4e4a9d6b714c.tar.gz
gcc-c29d85359add807200a1a851026b4e4a9d6b714c.tar.bz2
tree-optimization/108523 - fix endless iteration in VN
The following fixes not converging iteration in value-numbering of PHI nodes when we use an equivalence to prove the PHI node is degenerate. We have to avoid the situation where we oscillate between the two equivalent values because the result is fed back via a backedge. PR tree-optimization/108523 * tree-ssa-sccvn.cc (visit_phi): Avoid using the exclusive backedge value for the result when using predication to prove equivalence.
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions