mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-25 19:24:40 +08:00
* match.pd ((x & y) ^ (x | y)): Don't check for single_use.
From-SVN: r224390
This commit is contained in:
parent
a0349665f6
commit
2d6f2dce79
@ -1,3 +1,7 @@
|
||||
2015-06-11 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* match.pd ((x & y) ^ (x | y)): Don't check for single_use.
|
||||
|
||||
2015-06-11 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR bootstrap/66252
|
||||
|
@ -322,9 +322,8 @@ along with GCC; see the file COPYING3. If not see
|
||||
|
||||
/* (x & y) ^ (x | y) -> x ^ y */
|
||||
(simplify
|
||||
(bit_xor:c (bit_and@2 @0 @1) (bit_ior@3 @0 @1))
|
||||
(if (single_use (@2) && single_use (@3))
|
||||
(bit_xor @0 @1)))
|
||||
(bit_xor:c (bit_and @0 @1) (bit_ior @0 @1))
|
||||
(bit_xor @0 @1))
|
||||
|
||||
(simplify
|
||||
(abs (negate @0))
|
||||
|
Loading…
Reference in New Issue
Block a user