Re: [PATCH] Move memory builtin foldings to GIMPLE

2014-08-01 Thread Jeff Law
On 08/01/14 06:43, Richard Biener wrote: The following patch removes folding of bzero, memset, bcopy, memcpy, mempcpy and memmove from builtins.c and re-implements them in gimple-fold.c. This means those foldings are no longer accessible from GENERIC folding. Bootstrapped on x86_64-unknown-lin

Re: [PATCH] Move memory builtin foldings to GIMPLE

2014-08-01 Thread Joseph S. Myers
On Fri, 1 Aug 2014, Richard Biener wrote: > Does this look sensible? In particular, does any Frontend maintainer > object to no longer getting these simplifications? Note they > will still apply during gimplification and given they now work > on GENERIC we can simplify them quite a bit (but as f

[PATCH] Move memory builtin foldings to GIMPLE

2014-08-01 Thread Richard Biener
The following patch removes folding of bzero, memset, bcopy, memcpy, mempcpy and memmove from builtins.c and re-implements them in gimple-fold.c. This means those foldings are no longer accessible from GENERIC folding. Bootstrapped on x86_64-unknown-linux-gnu - testing seems to reveal some tests