<div dir="ltr">tks<div><br></div><div>Regards</div><div>Jun</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-02 2:09 GMT+08:00 Matthias Braun <span dir="ltr"><<a href="mailto:mbraun@apple.com" target="_blank">mbraun@apple.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div>There's no need for anything else, you can bitcast any struct pointer to an i8 pointer (which is free/needs no instructions in all the targets I know of).</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>- Matthias</div></font></span><div><br><blockquote type="cite"><div><div class="h5"><div>On Jan 29, 2018, at 11:06 PM, ma jun via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="m_-6788002300966578403Apple-interchange-newline"></div></div><div><div><div class="h5"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi all<div> why does llvm.memcpy intrinsic only support i8* for first two arguments? and does clang will also transform struct copy into llvm.memcpy ? what format does IR looks like? </div><div> Thanks !</div><div> </div><div> Regards</div><span class="m_-6788002300966578403HOEnZb"><font color="#888888"><div> Jun</div></font></span></div>
</div><br></div></div></div><span class="">
______________________________<wbr>_________________<br>LLVM Developers mailing list<br><a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br></span></div></blockquote></div><br></div></blockquote></div><br></div>