diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-05-04 11:03:32 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-05-04 11:03:32 +0200 |
commit | 6b5c7ee0df6b87780f2fd6f2c5759a04e6eed1fe (patch) | |
tree | ad20e71284b9b89bbcf272c547c50ab0d8c754f9 /gcc/tree-ssa-loop-im.c | |
parent | 496f4f884716ae061f771a62e44868a32dbd502f (diff) | |
download | gcc-6b5c7ee0df6b87780f2fd6f2c5759a04e6eed1fe.zip gcc-6b5c7ee0df6b87780f2fd6f2c5759a04e6eed1fe.tar.gz gcc-6b5c7ee0df6b87780f2fd6f2c5759a04e6eed1fe.tar.bz2 |
match.pd: Optimize (x < 0) != (y < 0) into (x ^ y) < 0 [PR94718]
The following patch (on top of the two other PR94718 patches) performs the
actual optimization requested in the PR.
2020-05-04 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/94718
* match.pd ((X < 0) != (Y < 0) into (X ^ Y) < 0): New simplification.
* gcc.dg/tree-ssa/pr94718-4.c: New test.
* gcc.dg/tree-ssa/pr94718-5.c: New test.
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions