[01/11] Schedule SLP earlier
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 1 Aug 2018 14:58:47 +0000 (14:58 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 1 Aug 2018 14:58:47 +0000 (14:58 +0000)
commit99615cf595266cdbe27fb3caf201fa38bd1f8d8b
treec3cd9db15b94315b851f47112e11c29d82857102
parent047fba343dc9fba211a10058bc423c6373cc57f8
[01/11] Schedule SLP earlier

vect_transform_loop used to call vect_schedule_slp lazily when it
came across the first SLP statement, but it seems easier to do it
before the main loop.

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

gcc/
* tree-vect-loop.c (vect_transform_loop_stmt): Remove slp_scheduled
argument.
(vect_transform_loop): Update calls accordingly.  Schedule SLP
instances before the main loop, if any exist.

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