Hi,

Please find attached the patch that addresses PR94882.

Bootstrapped and regression tested on x86_64-pc-linux-gnu.

Thanks,
Naveen

match.pd: (x & y) - (x | y) - 1 -> ~(x ^ y) simplification [PR94882]

2029-05-04  Naveen H S  <nave...@marvell.com>

        PR tree-optimization/94882

        * match.pd (x & y) - (x | y) - 1 -> ~(x ^ y): New simplification.

        * gcc.dg/tree-ssa/pr94882.c: New test.
        * gcc.dg/tree-ssa/pr94882-1.c: New test.

Attachment: 2.patch
Description: 2.patch

Reply via email to