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-linux-gnu - testing seems to reveal
some testsuite fallout I still have to look into.

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 followup).
Given the general need to move folding out of the FEs and into the gimple optimizers, I'm all for this. Obviously we have to deal will fallout, but I'm all for the general direction this is going.

Thanks,
Jeff

Reply via email to