Displaying 2 results from an estimated 2 matches for "afbfbdaf".
2017 Apr 28
3
Return on nocapture pointer
Hi,
I have a question about semantics of nocapture attribute:
"This indicates that the callee does not make any copies of the pointer
that outlive the callee itself. "
Is returing a pointer considered outliving callee? For example is this code
valid:
define i8* @foo(i8* nocapture %p)
ret i8* %p
}
The documentation also mention that " This is not a valid attribute for
return
2017 Apr 28
2
Return on nocapture pointer
...--
> Hal Finkel
> Lead, Compiler Technology and Programming Languages
> Leadership Computing Facility
> Argonne National Laboratory
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170428/afbfbdaf/attachment.html>