]> git.ipfire.org Git - thirdparty/gcc.git/commit
Do not add partial equivalences with no uses.
authorAndrew MacLeod <amacleod@redhat.com>
Thu, 12 Oct 2023 21:06:36 +0000 (17:06 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Fri, 13 Oct 2023 13:13:10 +0000 (09:13 -0400)
commit8be20f3b0bded7f9b690b27cbee58b283dbe827b
treed94a1359919d152e62fe4f9055b418621c2a9858
parent3179ad72f67f31824c444ef30ef171ad7495d274
Do not add partial equivalences with no uses.

PR tree-optimization/111622
* value-relation.cc (equiv_oracle::add_partial_equiv): Do not
register a partial equivalence if an operand has no uses.
gcc/value-relation.cc