------- Comment #7 from rguenth at gcc dot gnu dot org 2009-10-21 15:26 ------- LIM cleans up the 2nd insertion for me and moves the load next to the first insertion. What remains is the full redundancy and elimination of all the PHIs, so yes, your PRE patch would solve this. And yes, it is only the 2nd loop that is vectorized for me.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41783