tree-ssa-forwprop.c (truth_valued_ssa_name): New function.
authorKai Tietz <ktietz@redhat.com>
Thu, 7 Jul 2011 14:16:44 +0000 (16:16 +0200)
committerKai Tietz <ktietz@gcc.gnu.org>
Thu, 7 Jul 2011 14:16:44 +0000 (16:16 +0200)
commit0816a42a1fa5f3fa99d5756b35c9e7a94cbdb86e
tree7bc664a5934aa6a5a337a99baf2ba93884b114ec
parent3ce9f090550e4bae93cd81d0ebebfad932c938af
tree-ssa-forwprop.c (truth_valued_ssa_name): New function.

2011-07-07  Kai Tietz  <ktietz@redhat.com>

        * tree-ssa-forwprop.c (truth_valued_ssa_name): New function.
        (lookup_logical_inverted_value): Likewise.
        (simplify_bitwise_binary_1): Likewise.
        (simplify_bitwise_binary): Use simplify_bitwise_binary_1.

2011-07-07  Kai Tietz  <ktietz@redhat.com>

        * gcc.dg/binop-notxor1.c: New test.
        * gcc.dg/binop-notand4a.c: New test.
        * gcc.dg/binop-notxor2.c: New test.
        * gcc.dg/binop-notand3a.c: New test.
        * gcc.dg/binop-notand2a.c: New test.
        * gcc.dg/binop-notand6a.c: New test.
        * gcc.dg/binop-notor1.c: New test.
        * gcc.dg/binop-notand1a.c: New test.
        * gcc.dg/binop-notand5a.c: New test.
        * gcc.dg/binop-notor2.c: New test.

From-SVN: r175974
13 files changed:
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/binop-notand1a.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/binop-notand2a.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/binop-notand3a.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/binop-notand4a.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/binop-notand5a.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/binop-notand6a.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/binop-notor1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/binop-notor2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/binop-notxor1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/binop-notxor2.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c