https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123514

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jeff Law <[email protected]>:

https://gcc.gnu.org/g:1ab177078102ad62011bb66777c059dd6cac2bce

commit r17-393-g1ab177078102ad62011bb66777c059dd6cac2bce
Author: Eikansh Gupta <[email protected]>
Date:   Thu May 7 16:45:20 2026 -0600

    [PATCH v2] match.pd: Add pattern to fold (X - (X<0)) ^ -(X<0) into
ABS_EXPR<X> [PR123514]

    Adds a pattern to fold (x - (x<0)) ^ -(x<0) into ABS_EXPR<x>.

            PR tree-optimization/123514

    gcc/ChangeLog:

            * match.pd ((x - (x<0)) ^ -(x<0) into ABS_EXPR<x>): New pattern.

    gcc/testsuite/ChangeLog:

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

    Signed-off-by: Eikansh Gupta <[email protected]>

Reply via email to