diff --git a/docs/LangRef.html b/docs/LangRef.html index dc37ec60766..41128c3b23a 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3819,25 +3819,23 @@ transfer to a specified function, with its incoming arguments bound to the specified values. Upon a 'ret' instruction in the called function, control flow continues with the instruction after the function call, and the return value of the -function is bound to the result argument. If the 'ret -' instruction returns multiple values then the return values of the -function are only accessible through a 'getresult -' instruction. This is a simpler case of -the invoke instruction.
+function is bound to the result argument. If the callee returns multiple +values then the return values of the function are only accessible through +the 'getresult' instruction.
%retval = call i32 @test(i32 %argc)
- call i32 (i8 *, ...)* @printf(i8 * %msg, i32 12, i8 42);
- %X = tail call i32 @foo()
- %Y = tail call fastcc i32 @foo()
- %Z = call void %foo(i8 97 signext)
+ call i32 (i8 *, ...)* @printf(i8 * %msg, i32 12, i8 42) ; yields i32
+ %X = tail call i32 @foo() ; yields i32
+ %Y = tail call fastcc i32 @foo() ; yields i32
+ call void %foo(i8 97 signext)
%struct.A = type { i32, i8 }
- %r = call %struct.A @foo()
- %gr = getresult %struct.A %r, 0
- %gr1 = getresult %struct.A %r, 1
+ %r = call %struct.A @foo() ; yields { 32, i8 }
+ %gr = getresult %struct.A %r, 0 ; yields i32
+ %gr1 = getresult %struct.A %r, 1 ; yields i8