PR82228: Move ncopies calculation in vectorizable_live_operation
authorRichard Sandiford <richard.sandiford@linaro.org>
Sat, 16 Sep 2017 20:39:01 +0000 (20:39 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sat, 16 Sep 2017 20:39:01 +0000 (20:39 +0000)
commit78d459bbbbadcfe8121106d49e1e6ede3c182c31
tree99026bdf04dab3b9df8fe72a88f68fcd30f100b3
parent4a8d26ab790f160776782c0986eeba58aad5feba
PR82228: Move ncopies calculation in vectorizable_live_operation

This should have been after the early exit for non-vectorised statements.

2017-09-16  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
PR tree-optimization/82228
* tree-vect-loop.c (vectorizable_live_operation): Move initialization
of ncopies.

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