Re: tree-ssa*: reduce malloc() calls by preallocating hot VECs on the stack

2011-08-22 Thread Richard Guenther
On Mon, Aug 22, 2011 at 9:43 AM, Dimitrios Apostolou wrote: > > 2011-08-22  Dimitrios Apostolou   > >        Allocate some very frequently used vectors on the stack: >        * vecir.h: Defined a tree vector on the stack. >        * tree-ssa-sccvn.c (print_scc, sort_scc, process_scc) >        (ext

tree-ssa*: reduce malloc() calls by preallocating hot VECs on the stack

2011-08-22 Thread Dimitrios Apostolou
2011-08-22 Dimitrios Apostolou Allocate some very frequently used vectors on the stack: * vecir.h: Defined a tree vector on the stack. * tree-ssa-sccvn.c (print_scc, sort_scc, process_scc) (extract_and_process_scc_for_name): Allocate the scc vector on the