[07/11] Use single basic block array in loop_vec_info
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 1 Aug 2018 15:14:56 +0000 (15:14 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 1 Aug 2018 15:14:56 +0000 (15:14 +0000)
commitbeeb6ce8631cd0e23160dbbafd5f43d16a749e02
tree96e5a885c8df7a281abe581a0c5cc4f15cca4234
parent2d4bca81bd7dceb0701e5cd87132d8e3892c22ba
[07/11] Use single basic block array in loop_vec_info

_loop_vec_info::_loop_vec_info used get_loop_array to get the
order of the blocks when creating stmt_vec_infos, but then used
dfs_enumerate_from to get the order of the blocks that the rest
of the vectoriser uses.  We should be able to use that order
for creating stmt_vec_infos too.

2018-08-01  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Use the
result of dfs_enumerate_from when constructing stmt_vec_infos,
instead of additionally calling get_loop_body.

From-SVN: r263221
gcc/ChangeLog
gcc/tree-vect-loop.c