re PR tree-optimization/58508 ([Missed-Optimization] Redundant vector load of "actual...
authorCong Hou <congh@google.com>
Sat, 19 Oct 2013 05:20:24 +0000 (01:20 -0400)
committerJeff Law <law@gcc.gnu.org>
Sat, 19 Oct 2013 05:20:24 +0000 (23:20 -0600)
commit6f978a2a7834fa96f1899cf41f56f15509d34cf3
treea69cb657131a63bd426e8172939dd8d8c19ce8c3
parent6b8fe121affbf6fcfe19fca582c56cb9baf9b600
re PR tree-optimization/58508 ([Missed-Optimization] Redundant vector load of "actual" loop invariant in loop body.)

PR tree-optimization/58508
* tree-vect-loop-manip.c (vect_loop_versioning): Hoist loop invariant
statement that contains data refs with zero-step.

* gcc.dg/vect/pr58508.c: New test.

From-SVN: r203842
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr58508.c [new file with mode: 0644]
gcc/tree-vect-loop-manip.c