More bitop simplifications in match.pd
authorMarc Glisse <marc.glisse@inria.fr>
Tue, 7 Nov 2017 11:08:06 +0000 (12:08 +0100)
committerMarc Glisse <glisse@gcc.gnu.org>
Tue, 7 Nov 2017 11:08:06 +0000 (11:08 +0000)
commite268a77b59cb788637d6db4829f0fd1ddf63f6f2
tree7508fffb8d66d0db4cd97e22534f47fcaab536af
parent81bd903a6aa90326fb2a3cb451f86423f069793b
More bitop simplifications in match.pd

2017-11-07  Marc Glisse  <marc.glisse@inria.fr>

gcc/
* match.pd ((a&~b)|(a^b),(a&~b)^~a,(a|b)&~(a^b),a|~(a^b),
(a|b)|(a&^b),(a&b)|~(a^b),~(~a&b),~X^Y): New transformations.

gcc/testsuite/
* gcc.dg/tree-ssa/bitops-1.c: New file.

From-SVN: r254495
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/bitops-1.c [new file with mode: 0644]