[llvm-dev] llvm.memcpy for struct copy
ma jun via llvm-dev
llvm-dev at lists.llvm.org
Thu Feb 1 17:21:19 PST 2018
2018-02-02 2:09 GMT+08:00 Matthias Braun <mbraun at apple.com>:
> 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).
> - Matthias
> On Jan 29, 2018, at 11:06 PM, ma jun via llvm-dev <llvm-dev at lists.llvm.org>
> Hi all
> 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?
> Thanks !
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev