re PR tree-optimization/88676 (missed opportunity in integer conditional)
authorJakub Jelinek <jakub@redhat.com>
Mon, 7 Jan 2019 08:51:59 +0000 (09:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 7 Jan 2019 08:51:59 +0000 (09:51 +0100)
commit0119d5a23abf2f45f5ec336589d4adad9dfc5c7f
treec60e949be5ed6200fcf221694c17006c1d2b3366
parent76192f9356f1fc5b5e4d251020625d46c48a8dd8
re PR tree-optimization/88676 (missed opportunity in integer conditional)

PR tree-optimization/88676
* tree-ssa-phiopt.c (two_value_replacement): New function.
(tree_ssa_phiopt_worker): Call it.

* gcc.dg/tree-ssa/pr88676.c: New test.
* gcc.dg/pr88676.c: New test.
* gcc.dg/tree-ssa/pr15826.c: Just verify there is no goto,
allow &.

From-SVN: r267634
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr88676.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr15826.c
gcc/testsuite/gcc.dg/tree-ssa/pr88676.c [new file with mode: 0644]
gcc/tree-ssa-phiopt.c