[5/n] PR85694: Remove dead WIDEN_SUM handling
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 20 Jun 2018 08:08:21 +0000 (08:08 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 20 Jun 2018 08:08:21 +0000 (08:08 +0000)
commit1f78617090283f22825807fcc0533e27e983dcde
tree48e8724f13b0e0b6cd85144671a09044ac4a7a0c
parent44ae7a002c23ff0ab884350b5f05876ece985387
[5/n] PR85694: Remove dead WIDEN_SUM handling

vect_recog_dot_prod_pattern and vect_recog_sad_pattern both checked
whether the statement passed in had already been recognised as a
WIDEN_SUM_EXPR pattern.  That isn't possible (any more?), since the
first recognised pattern wins, and since vect_recog_widen_sum_pattern
never matches a later statement than the one it's given.

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

gcc/
* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Remove
redundant WIDEN_SUM_EXPR handling.
(vect_recog_sad_pattern): Likewise.

From-SVN: r261788
gcc/ChangeLog
gcc/tree-vect-patterns.c