[3/3] No need to vectorize simple only-live stmts
authorAlan Hayward <alan.hayward@arm.com>
Fri, 3 Jun 2016 13:04:01 +0000 (13:04 +0000)
committerAlan Hayward <alahay01@gcc.gnu.org>
Fri, 3 Jun 2016 13:04:01 +0000 (13:04 +0000)
commit3a2edf4cb86827b6aa2509baa6262fe49e11da93
tree99fd49e5d691798fb795a84f777458870da59667
parentb28ead45fe630b9e018a81cb46b7e1f971e4dc17
[3/3] No need to vectorize simple only-live stmts

2016-06-03  Alan Hayward  <alan.hayward@arm.com>

[3/3] No need to vectorize simple only-live stmts

gcc/
* tree-vect-stmts.c (vect_stmt_relevant_p): Do not vectorize non live
relevant stmts which are simple and invariant.
* tree-vect-loop.c (vectorizable_live_operation): Check relevance
instead of simple and invariant

testsuite/
* gcc.dg/vect/vect-live-slp-5.c: Remove dg check.

From-SVN: r237065
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-live-5.c
gcc/tree-vect-loop.c
gcc/tree-vect-stmts.c