<p dir="ltr">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. </p>
<br><div class="gmail_quote"><div dir="ltr">On Sat, Sep 26, 2015, 9:02 PM comex <<a href="mailto:comexk@gmail.com">comexk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Sep 24, 2015 at 7:28 AM, Manuel Klimek via cfe-commits<br>
<<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>> wrote:<br>
> Fix loop-convert for trivially copyable types.<br>
<br>
If I'm not misunderstanding the patch, "trivially copyable" by itself<br>
seems like a suboptimal test.  After all, "trivial" can still include<br>
an expensive memcpy of a large struct.<br>
</blockquote></div>