[Bug tree-optimization/78938] [7 Regression] ICE in expand_vec_cond_expr, at optabs.c:5636 w/ -mavx512bw -ftree-loop-vectorize -O1
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 9 11:46:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78938
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
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-bugs
mailing list