http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59006
Cong Hou <congh at google dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |congh at google dot com --- Comment #5 from Cong Hou <congh at google dot com> --- Hoisting all vectorized statements may not be the best solution (some loads may not be necessary outside of the loop), but I think it works and can solve the current issues. Richard, are you working on this? If you'd like I could also make a patch with this idea. thanks, Cong