diff options
author | prathamesh.kulkarni <prathamesh.kulkarni@linaro.org> | 2021-10-18 15:44:06 +0530 |
---|---|---|
committer | prathamesh.kulkarni <prathamesh.kulkarni@linaro.org> | 2021-10-18 15:44:06 +0530 |
commit | 20dcda98ed376cb61c74b2c71656f99c671ec9ce (patch) | |
tree | 7efcc5eb630088ec552f3e562ce4ee8ab625dca7 /gcc/gcov.c | |
parent | 85ce673378e7091ce603b033fac213a9d0d1f83a (diff) | |
download | gcc-20dcda98ed376cb61c74b2c71656f99c671ec9ce.zip gcc-20dcda98ed376cb61c74b2c71656f99c671ec9ce.tar.gz gcc-20dcda98ed376cb61c74b2c71656f99c671ec9ce.tar.bz2 |
[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.
Diffstat (limited to 'gcc/gcov.c')
0 files changed, 0 insertions, 0 deletions