[clang-tools-extra] r248438 - Fix loop-convert for trivially copyable types.

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 26 23:21:39 PDT 2015


Yep. We'll make it better by limiting the size, but trivially copyable is
an improvement, as there are orders of magnitude more loops over small
copyable types than over large ones.

On Sat, Sep 26, 2015, 9:02 PM comex <comexk at gmail.com> wrote:

> On Thu, Sep 24, 2015 at 7:28 AM, Manuel Klimek via cfe-commits
> <cfe-commits at lists.llvm.org> wrote:
> > Fix loop-convert for trivially copyable types.
>
> If I'm not misunderstanding the patch, "trivially copyable" by itself
> seems like a suboptimal test.  After all, "trivial" can still include
> an expensive memcpy of a large struct.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150927/0f1849ec/attachment.html>


More information about the cfe-commits mailing list