This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/37027] SLP loop vectorization missing support for reductions
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2008 08:52:08 -0000
- Subject: [Bug tree-optimization/37027] SLP loop vectorization missing support for reductions
- References: <bug-37027-12191@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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