diff --git a/docs/LangRef.html b/docs/LangRef.html index d0d7f5f5ea1..dc37ec60766 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3899,24 +3899,27 @@ argument.
- <resultval> = getresult <type> <retval>, <index> + <resultval> = getresult <type> <retval>, <index>+
The 'getresult' instruction is used to extract individual values -from multiple values returned by a 'call' -or 'invoke' instruction. +from a 'call' +or 'invoke' instruction that returns multiple +results.
The 'getresult' instruction takes a call or invoke value as its +first argument. The value must have structure type. +The second argument is an unsigned index value which must be in range for +the number of values returned by the call.
The 'getresult' instruction extracts the element identified by +'index' from the aggregate value.