[PATCH] Optimize double storing by memset; memcpy

Ahmed Bougacha ahmed.bougacha at gmail.com
Fri Mar 27 14:49:12 PDT 2015


On Fri, Mar 27, 2015 at 2:26 PM, Alex Rosenberg <alexr at leftfield.org> wrote:
> This only handles overlap at the start of the memset. Does it make sense to handle other overlaps?

I thought so, at least when the memset starts after the memcpy.
But that's trickier, while being less likely, so I'd prefer to keep it
simple until there's something actually generating this kind of code.

If you have one in mind, I can improve the patch!

-Ahmed

>
> http://reviews.llvm.org/D498
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>



More information about the llvm-commits mailing list