search for: be36d0cf

Displaying 1 result from an estimated 1 matches for "be36d0cf".

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