[35/46] Alter interfaces within vect_pattern_recog
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 31 Jul 2018 14:25:43 +0000 (14:25 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 31 Jul 2018 14:25:43 +0000 (14:25 +0000)
commitcef6cac8bcacc3314760686dfae7b23efdf7db07
tree4cad03106d4a1ccd3dfbfe0391ac0480edaa5f82
parente4057a3920490abb69bb22237ebe380ac4fd64f5
[35/46] Alter interfaces within vect_pattern_recog

vect_pattern_recog_1 took a gimple_stmt_iterator as argument, but was
only interested in the gsi_stmt, not anything else.  This patch makes
the associated routines operate directly on stmt_vec_infos.

2018-07-31  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* tree-vect-patterns.c (vect_mark_pattern_stmts): Take the
original stmt as a stmt_vec_info rather than a gimple stmt.
(vect_pattern_recog_1): Take the statement directly as a
stmt_vec_info, rather than via a gimple_stmt_iterator.
Update call to vect_mark_pattern_stmts.
(vect_pattern_recog): Update calls accordingly.

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