Re: Tidy dr_chain allocation in vectorizable_load

2011-04-12 Thread Richard Guenther
On Tue, Apr 12, 2011 at 3:09 PM, Richard Sandiford wrote: > vectorizable_load allocates n_copies+1 dr_chains, even though only > the first n_copies are needed.  This patch removes the extra one and > IMO makes the flow a bit more obvious. > > Tested on x86_64-linux-gnu and arm-linux-gnueabi.  OK t

Tidy dr_chain allocation in vectorizable_load

2011-04-12 Thread Richard Sandiford
vectorizable_load allocates n_copies+1 dr_chains, even though only the first n_copies are needed. This patch removes the extra one and IMO makes the flow a bit more obvious. Tested on x86_64-linux-gnu and arm-linux-gnueabi. OK to install? Richard gcc/ * tree-vect-stmts.c (vectorizable