simplify-rtx: Parity of parity is parity
authorRoger Sayle <roger@nextmovesoftware.com>
Wed, 24 Jun 2020 18:48:43 +0000 (18:48 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Wed, 24 Jun 2020 19:27:56 +0000 (19:27 +0000)
commit35eca8c5e16933b5cdb17eac4ed51e6b3877b288
tree5696a217e8b19df2d2fdd0b9c6cbe5bcd6244945
parenta16d0924f18046704ef9a4b6d9593718594677f1
simplify-rtx: Parity of parity is parity

2020-06-24  Roger Sayle  <roger@nextmovesoftware.com>

* simplify-rtx.c (simplify_unary_operation_1): Simplify
(parity (parity x)) as (parity x), i.e. PARITY is idempotent.
gcc/simplify-rtx.c