Re: PR 49742: call lhs being ignored

2011-07-19 Thread Richard Guenther
On Tue, Jul 19, 2011 at 2:15 PM, Richard Sandiford wrote: > In 49742, we have: > >  vect_array.21 = LOAD_LANES (MEM[(int[512] *)vect_pin.17_56]); >  vect_var_.22_58 = vect_array.21[0]; > > predcom doesn't think that there are any dependencies between > the two statements, so hoists the second one

PR 49742: call lhs being ignored

2011-07-19 Thread Richard Sandiford
In 49742, we have: vect_array.21 = LOAD_LANES (MEM[(int[512] *)vect_pin.17_56]); vect_var_.22_58 = vect_array.21[0]; predcom doesn't think that there are any dependencies between the two statements, so hoists the second one as an invariant. This in turn is because get_references_in_stmt ignor