Re: [PATCH 3/4] Add a pass_copy_prop following pass_ch_vect

2015-12-26 Thread Richard Biener
On Mon, Dec 21, 2015 at 2:13 PM, Alan Lawrence wrote: > This fixes the missed vectorization of gcc.dg/vect/pr65947-2.c following the > previous patch, by cleaning up: > > i_49 = 1; > ... > goto ; > > : > > : <--- LOOP HEADER > # i_53 = PHI > > into: > > : > # i_53 = PHI > > Allow

[PATCH 3/4] Add a pass_copy_prop following pass_ch_vect

2015-12-21 Thread Alan Lawrence
This fixes the missed vectorization of gcc.dg/vect/pr65947-2.c following the previous patch, by cleaning up: i_49 = 1; ... goto ; : : <--- LOOP HEADER # i_53 = PHI into: : # i_53 = PHI Allowing scalar evolution and vectorization to proceed. A similar sequence of partial pee