[Bug tree-optimization/50328] reduction with constant or invariant not vectorized

2011-09-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50328 --- Comment #6 from Richard Guenther rguenth at gcc dot gnu.org 2011-09-09 09:05:39 UTC --- Ah, we fail outer loop vectorization because of a bug (versioning for alias required) and then drop into vectorizable_reduction with a statement with a

[Bug tree-optimization/50328] reduction with constant or invariant not vectorized

2011-09-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50328 --- Comment #7 from Richard Guenther rguenth at gcc dot gnu.org 2011-09-09 12:35:16 UTC --- Author: rguenth Date: Fri Sep 9 12:35:11 2011 New Revision: 178728 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=178728 Log: 2011-09-09 Richard

[Bug tree-optimization/50328] reduction with constant or invariant not vectorized

2011-09-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50328 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/50328] reduction with constant or invariant not vectorized

2011-09-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50328 --- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2011-09-08 13:55:54 UTC --- Created attachment 25228 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25228 preliminary patch Patch that still ICEs its testcase. Works for

[Bug tree-optimization/50328] reduction with constant or invariant not vectorized

2011-09-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50328 --- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2011-09-08 14:06:58 UTC --- Hmm, we fail to set the vectype for the PHI - I'm somewhat lost in the reduction code.