Displaying 3 results from an estimated 3 matches for "60309330".
Did you mean:
6029330
2018 Jan 30
0
llvm.memcpy for struct copy
Hi
2018-01-30 15:36 GMT+08:00 ma jun <jun.parser at gmail.com>:
> Hi
> Thanks !
> so for this example
> void foo(X &src, X &dst) {
> dst = src;
> }
> and the IR:
>
> define void @foo(X&, X&)(%struct.X* dereferenceable(8), %struct.X*
> dereferenceable(8)) #0 {
> %3 = alloca %struct.X*, align 8
> %4 = alloca %struct.X*,
2018 Jan 30
2
llvm.memcpy for struct copy
Hi
Thanks !
so for this example
void foo(X &src, X &dst) {
dst = src;
}
and the IR:
define void @foo(X&, X&)(%struct.X* dereferenceable(8), %struct.X*
dereferenceable(8)) #0 {
%3 = alloca %struct.X*, align 8
%4 = alloca %struct.X*, align 8
store %struct.X* %0, %struct.X** %3, align 8
store %struct.X* %1, %struct.X** %4, align 8
%5 = load %struct.X*,
2018 Jan 30
2
llvm.memcpy for struct copy
...v at lists.llvm.org
>>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180130/60309330/attachment.html>