r230309 - in /trunk/gcc: ChangeLog testsuite/Ch...

ienkovich@gcc.gnu.org ienkovich@gcc.gnu.org
Fri Nov 13 11:45:00 GMT 2015


Author: ienkovich
Date: Fri Nov 13 11:45:25 2015
New Revision: 230309

URL: https://gcc.gnu.org/viewcvs?rev=230309&root=gcc&view=rev
Log:
gcc/

	* tree-vect-loop.c (vect_determine_vectorization_factor): Check
	mix of boolean and integer vectors in a single statement.
	* tree-vect-slp.c (vect_mask_constant_operand_p): New.
	(vect_get_constant_vectors): Use vect_mask_constant_operand_p to
	determine constant type.
	* tree-vect-stmts.c (vectorizable_comparison): Provide vectype
	for loop invariants.

gcc/testsuite/

	* g++.dg/vect/simd-bool-comparison-1.cc: New test.
	* g++.dg/vect/simd-bool-comparison-2.cc: New test.

Added:
    trunk/gcc/testsuite/g++.dg/vect/simd-bool-comparison-1.cc
    trunk/gcc/testsuite/g++.dg/vect/simd-bool-comparison-2.cc
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-loop.c
    trunk/gcc/tree-vect-slp.c
    trunk/gcc/tree-vect-stmts.c



More information about the Gcc-cvs mailing list