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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Prathamesh Kulkarni
<prathamesh3...@gcc.gnu.org>:

https://gcc.gnu.org/g:20dcda98ed376cb61c74b2c71656f99c671ec9ce

commit r12-4470-g20dcda98ed376cb61c74b2c71656f99c671ec9ce
Author: prathamesh.kulkarni <prathamesh.kulka...@linaro.org>
Date:   Mon Oct 18 15:44:06 2021 +0530

    [sve] PR93183 - Add support for conditional neg.

    gcc/ChangeLog:
            PR target/93183
            * gimple-match-head.c (try_conditional_simplification): Add case
for single operand.
            * internal-fn.def: Add entry for COND_NEG internal function.
            * internal-fn.c (FOR_EACH_CODE_MAPPING): Add entry for
            NEGATE_EXPR, COND_NEG mapping.
            * optabs.def: Add entry for cond_neg_optab.
            * match.pd (UNCOND_UNARY, COND_UNARY): New operator lists.
            (vec_cond COND (foo A) B) -> (IFN_COND_FOO COND A B): New pattern.
            (vec_cond COND B (foo A)) -> (IFN_COND_FOO ~COND A B): Likewise.

    gcc/testsuite/ChangeLog:
            PR target/93183
            * gcc.target/aarch64/sve/cond_unary_4.c: Adjust.
            * gcc.target/aarch64/sve/pr93183.c: New test.

Reply via email to