r244223 - in /trunk/gcc: ChangeLog testsuite/Ch...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Mon Jan 9 11:44:00 GMT 2017
Author: jakub
Date: Mon Jan 9 11:44:52 2017
New Revision: 244223
URL: https://gcc.gnu.org/viewcvs?rev=244223&root=gcc&view=rev
Log:
PR tree-optimization/78938
* tree-vect-stmts.c (vectorizable_condition): For non-masked COND_EXPR
where comp_vectype is VECTOR_BOOLEAN_TYPE_P, use
BIT_{NOT,XOR,AND,IOR}_EXPR on the comparison operands instead of
{EQ,NE,GE,GT,LE,LT}_EXPR directly inside of VEC_COND_EXPR. Formatting
fixes.
* gcc.dg/vect/pr78938.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/vect/pr78938.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-stmts.c
More information about the Gcc-cvs
mailing list