r278574 - in /branches/gcc-8-branch/gcc: Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Nov 21 17:09:00 GMT 2019


Author: jakub
Date: Thu Nov 21 17:09:57 2019
New Revision: 278574

URL: https://gcc.gnu.org/viewcvs?rev=278574&root=gcc&view=rev
Log:
	Backported from mainline
	2019-09-01  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/91623
	* optabs.c (expand_vec_cond_expr): If op0 is a VECTOR_CST and only
	EQ_EXPR/NE_EXPR is supported, verify that op0 only contains
	zeros or negative elements and use NE_EXPR instead of LT_EXPR against
	zero vector.

	* gcc.target/i386/pr91623.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr91623.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/optabs.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list