------- Comment #1 from rguenth at gcc dot gnu dot org 2008-08-05 08:52 ------- Works for me if you schedule another copyprop and dce before the vectorizer.
t2.i:19: note: transform reduction: created def-use cycle:vect_var_.52_80 = PHI
<vect_var_.52_81(4), { 0, 0, 0, 0 }(6)>
...
t2.i:14: note: vectorized 1 loops in function.
but it's not using SLP appearantly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37027
