r261787 - in /trunk/gcc: ChangeLog tree-vect-pa...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Jun 20 08:07:00 GMT 2018


Author: rsandifo
Date: Wed Jun 20 08:07:37 2018
New Revision: 261787

URL: https://gcc.gnu.org/viewcvs?rev=261787&root=gcc&view=rev
Log:
[4/n] PR85694: Remove redundant calls to types_compatible_p

tree-vect-patterns.c checked that operands to primitive arithmetic ops
are compatible with each other and with the result.  The checks date
back years and have long been redundant with verify_gimple_stmt.

2018-06-20  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Remove
	redundant check that the types of a PLUS_EXPR or MULT_EXPR agree.
	(vect_recog_sad_pattern): Likewise PLUS_EXPR, ABS_EXPR and MINUS_EXPR.
	(vect_recog_widen_mult_pattern): Likewise MULT_EXPR.
	(vect_recog_widen_sum_pattern): Likewise PLUS_EXPR.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-vect-patterns.c



More information about the Gcc-cvs mailing list