diff options
author | Andrew Pinski <apinski@marvell.com> | 2023-05-04 23:37:51 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2023-05-05 05:22:23 +0000 |
commit | 6fe385eac6ff8ecddb6cbdff2c706b27b5137006 (patch) | |
tree | 8253c1d99b449b61b273c06ef9a08733074aacb1 /libcpp/charset.cc | |
parent | 6f18f344338b370031e75924eed2bdd1ce5c8dba (diff) | |
download | gcc-6fe385eac6ff8ecddb6cbdff2c706b27b5137006.zip gcc-6fe385eac6ff8ecddb6cbdff2c706b27b5137006.tar.gz gcc-6fe385eac6ff8ecddb6cbdff2c706b27b5137006.tar.bz2 |
MATCH: Add ABSU<a> == 0 to a == 0 simplification
There is already an `ABS<a> == 0` to `a == 0` pattern,
this just extends that to ABSU too.
OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions.
PR tree-optimization/109722
gcc/ChangeLog:
* match.pd: Extend the `ABS<a> == 0` pattern
to cover `ABSU<a> == 0` too.
gcc/testsuite/ChangeLog:
* gcc.dg/tree-ssa/abs-1.c: New test.
Diffstat (limited to 'libcpp/charset.cc')
0 files changed, 0 insertions, 0 deletions