aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-decl.cc
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2023-09-03 14:26:53 -0700
committerAndrew Pinski <apinski@marvell.com>2023-09-05 14:14:55 -0700
commitab286761bf703a43bbd8495cd3fc33a7e88c8440 (patch)
tree0b74dfef9715ca79e667e9ddeae4d39ac830b17b /gcc/c/c-decl.cc
parent8e995e84233661a1a246807a66cc84003426b1df (diff)
downloadgcc-ab286761bf703a43bbd8495cd3fc33a7e88c8440.zip
gcc-ab286761bf703a43bbd8495cd3fc33a7e88c8440.tar.gz
gcc-ab286761bf703a43bbd8495cd3fc33a7e88c8440.tar.bz2
MATCH: Add `(x | c) & ~(y | c)` and `x & ~(y | x)` patterns [PR98710]
Adding some more simple bit_and/bit_ior patterns. How often these show up, I have no idea. OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions. gcc/ChangeLog: PR tree-optimization/98710 * match.pd (`(x | c) & ~(y | c)`, `(x & c) | ~(y & c)`): New pattern. (`x & ~(y | x)`, `x | ~(y & x)`): New patterns. gcc/testsuite/ChangeLog: PR tree-optimization/98710 * gcc.dg/tree-ssa/andor-7.c: New test. * gcc.dg/tree-ssa/andor-8.c: New test.
Diffstat (limited to 'gcc/c/c-decl.cc')
0 files changed, 0 insertions, 0 deletions