diff options
author | Andrew Pinski <apinski@marvell.com> | 2023-08-27 17:04:04 -0700 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2023-08-28 06:46:07 -0700 |
commit | cbde03abe5dbba13b992a3b610efe43aefc0e234 (patch) | |
tree | ff4ee92c9f8f43963ece1803dfc9ba65e6ab7ec7 /contrib/unused_functions.py | |
parent | 6164adf8f11e0e2a332d1af55810d3e4f3037358 (diff) | |
download | gcc-cbde03abe5dbba13b992a3b610efe43aefc0e234.zip gcc-cbde03abe5dbba13b992a3b610efe43aefc0e234.tar.gz gcc-cbde03abe5dbba13b992a3b610efe43aefc0e234.tar.bz2 |
MATCH: Remove redundant pattern for `(x | y) & ~x`
After r14-2885-gb9237226fdc938, this pattern becomes
redundant as we match it using bitwise_inverted_equal_p.
There is already a testcase (gcc.dg/nand.c) for this pattern
and it still passes after the removal.
OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions.
gcc/ChangeLog:
PR tree-optimization/111146
* match.pd (`(x | y) & ~x`, `(x & y) | ~x`): Remove
redundant pattern.
Diffstat (limited to 'contrib/unused_functions.py')
0 files changed, 0 insertions, 0 deletions