Re: [PATCH][PR65893] Move pass_stdarg to after pass_dce in pass_all_optimizations

2015-04-29 Thread Richard Biener
On Wed, Apr 29, 2015 at 10:52 AM, Tom de Vries wrote: > Hi, > > After moving the expansion of va_arg from gimplification to pass_stdarg, we > execute less optimization passes on the expanded va_arg. > > For example, in PR65893 the optimized-dump code for a va_arg expansion for > aarch64 is less op

[PATCH][PR65893] Move pass_stdarg to after pass_dce in pass_all_optimizations

2015-04-29 Thread Tom de Vries
Hi, After moving the expansion of va_arg from gimplification to pass_stdarg, we execute less optimization passes on the expanded va_arg. For example, in PR65893 the optimized-dump code for a va_arg expansion for aarch64 is less optimal than it was before, because pass_tree_ifcombine is no lo