diff options
author | Przemyslaw Wirkus <Przemyslaw.Wirkus@arm.com> | 2020-06-19 16:48:55 +0100 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:14:14 -0300 |
commit | 66b97a0096476108f7fe21b06ef4e1454072ac49 (patch) | |
tree | 9caad9a1ab44416390c137a9e017bde241e96f7a /gcc/fortran/interface.c | |
parent | 52237c2ace0a379ec258058f764d507e9302a7bc (diff) | |
download | gcc-66b97a0096476108f7fe21b06ef4e1454072ac49.zip gcc-66b97a0096476108f7fe21b06ef4e1454072ac49.tar.gz gcc-66b97a0096476108f7fe21b06ef4e1454072ac49.tar.bz2 |
Fix PR94880: Failure to recognize andn pattern
Pattern "(x | y) - y" can be optimized to simple "(x & ~y)" andn
pattern.
Bootstrapped and tested on aarch64-none-linux-gnu.
gcc/ChangeLog:
PR tree-optimization/94880
* match.pd (A | B) - B -> (A & ~B): New simplification.
gcc/testsuite/ChangeLog:
PR tree-optimization/94880
* gcc.dg/tree-ssa/pr94880.c: New Test.
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions