re PR target/92908 (wrong code with -Og -fno-tree-fre -mavx512bw and vector compare)
authorJakub Jelinek <jakub@redhat.com>
Fri, 13 Dec 2019 10:12:55 +0000 (11:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 13 Dec 2019 10:12:55 +0000 (11:12 +0100)
commit1a4c0446c0b38d86e7385a114cd99af591eece05
treefe5a9231bd4e0eef6bfe437193ec3494df557a48
parent814db0c199fb9c050008f9f1e12534425ccc40c8
re PR target/92908 (wrong code with -Og -fno-tree-fre -mavx512bw and vector compare)

PR target/92908
* simplify-rtx.c (simplify_relational_operation): Punt for vector
cmp_mode and scalar mode, if simplify_relational_operation returned
const_true_rtx.
(simplify_const_relational_operation): Change VOID_mode in function
comment to VOIDmode.

* gcc.target/i386/avx512bw-pr92908.c: New test.

From-SVN: r279369
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512bw-pr92908.c [new file with mode: 0644]