[cfe-dev] [llvm-dev] Disable memset synthesis

Nemanja Ivanovic via cfe-dev cfe-dev at lists.llvm.org
Wed Aug 16 09:38:59 PDT 2017


I agree with Joerg. I don't really see much value in disabling idiom
recognition. If the target isn't lowering memset/memcpy well, seems that
fixing that would be more beneficial than being able to disable idiom
recognition.

On Wed, Aug 16, 2017 at 10:22 AM, Joerg Sonnenberger via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> On Tue, Aug 15, 2017 at 09:37:58PM -0700, Tim Northover via llvm-dev wrote:
> > The best advice is to file a bug report about the situation you're
> > seeing where a call to memset is bad for performance. There's clearly
> > something going wrong with Clang's heuristics and the best solution is
> > to fix that.
>
> Do you mean clang or the backend? The discussion elsewhere about
> disabling memcpy intrinsic forming already makes me suspect that some
> targets don't handle those intrinsics well enough.
>
> Joerg
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170816/c3edf6ae/attachment.html>


More information about the cfe-dev mailing list