Re: [patch] couple of small optimization tweaks

2011-09-25 Thread Richard Guenther
On Sat, Sep 24, 2011 at 6:41 PM, Eric Botcazou wrote: > Hi, > > this is a couple of small tweaks to the GIMPLE optimizers aimed at helping > vectorization in Ada.  More changes will be needed, so no testcases yet. > > >  1. pass_fold_builtins knows how to delete a call to __builtin_stack_restore >

[patch] couple of small optimization tweaks

2011-09-24 Thread Eric Botcazou
Hi, this is a couple of small tweaks to the GIMPLE optimizers aimed at helping vectorization in Ada. More changes will be needed, so no testcases yet. 1. pass_fold_builtins knows how to delete a call to __builtin_stack_restore that is the only real statement in a cleanup, i.e. to turn :