X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FLangRef.html;h=eba4e5af40da2bbd994cbb425f188011fcc6bec2;hb=26825a84e97790adaffc55c6101b9fe2524fe1b7;hp=25b9e026a26df68643b29309a8f8c25681b87020;hpb=2307a7f0cfe0f0a5261175849d928bd9e4b78c0f;p=oota-llvm.git diff --git a/docs/LangRef.html b/docs/LangRef.html index 25b9e026a26..eba4e5af40d 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2918,7 +2918,7 @@ or array element from an aggregate value. The first operand of an 'extractvalue' instruction is a value of struct or array type. The operands are constant indices to specify which value to extract -in the same manner as indices in a +in a similar manner as indices in a 'getelementptr' instruction.

@@ -2932,7 +2932,7 @@ the index operands.
Example:
-  %result = extractvalue {i32, float} %agg, i32 0    ; yields i32
+  %result = extractvalue {i32, float} %agg, 0    ; yields i32
 
@@ -2947,7 +2947,7 @@ the index operands.
Syntax:
-  <result> = insertvalue <aggregate type> <val>, <ty> <val>, i32 <idx>    ; yields <n x <ty>>
+  <result> = insertvalue <aggregate type> <val>, <ty> <val>, <idx>    ; yields <n x <ty>>
 
Overview:
@@ -2965,7 +2965,7 @@ The first operand of an 'insertvalue' instruction is a value of struct or array type. The second operand is a first-class value to insert. The following operands are constant indices -indicating the position at which to insert the value in the same manner as +indicating the position at which to insert the value in a similar manner as indices in a 'getelementptr' instruction. The value to insert must have the same type as the value identified @@ -2982,7 +2982,7 @@ specified by the indices is that of elt.
Example:
-  %result = insertvalue {i32, float} %agg, i32 1, i32 0    ; yields {i32, float}
+  %result = insertvalue {i32, float} %agg, 1, 0    ; yields {i32, float}