[07/11] Use single basic block array in loop_vec_info
commit2482dbe8be1d6e0901341adbf433d48a23655a24
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2018 15:14:56 +0000 (1 15:14 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2018 15:14:56 +0000 (1 15:14 +0000)
tree96e5a885c8df7a281abe581a0c5cc4f15cca4234
parent3c8b7bc7c47abef60d52332d48166b9b623ee7ff
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263221 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-loop.c