Displaying 2 results from an estimated 2 matches for "d971cdaf".
Did you mean:
d071daf
2018 Jan 30
1
Fwd: llvm.memcpy for struct copy
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 !
Regards
Jun
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2018 Feb 01
0
llvm.memcpy for struct copy
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> wrote:
>
> Hi all
> why does llvm.memcpy intrinsic only support i8* for first two arguments? and does clang will also