diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2018-06-20 08:07:37 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-06-20 08:07:37 +0000 |
commit | 44ae7a002c23ff0ab884350b5f05876ece985387 (patch) | |
tree | e2828bf542a88058b47b46e3fe745a3d77498481 /gcc/godump.c | |
parent | ed7b8123fab1de4d6da98774262c123f6d1226f9 (diff) | |
download | gcc-44ae7a002c23ff0ab884350b5f05876ece985387.zip gcc-44ae7a002c23ff0ab884350b5f05876ece985387.tar.gz gcc-44ae7a002c23ff0ab884350b5f05876ece985387.tar.bz2 |
[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.
From-SVN: r261787
Diffstat (limited to 'gcc/godump.c')
0 files changed, 0 insertions, 0 deletions