aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-05-13 18:16:06 +0000
committerDan Gohman <gohman@apple.com>2008-05-13 18:16:06 +0000
commitc3dac5cbfe1f7ce35bc8129a4e0d5d58bfd130ea (patch)
tree5b18ffc9f3d3be6f7e44e01c998fe01a4bc43d75 /docs
parent32097bdbf67c289f8981e6b87508245c9ad1c510 (diff)
downloadexternal_llvm-c3dac5cbfe1f7ce35bc8129a4e0d5d58bfd130ea.zip
external_llvm-c3dac5cbfe1f7ce35bc8129a4e0d5d58bfd130ea.tar.gz
external_llvm-c3dac5cbfe1f7ce35bc8129a4e0d5d58bfd130ea.tar.bz2
s/indicies/indices/ and clarify the extractvalue and insertvalue are
working with struct field or array element values. Thanks Duncan! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 694fed8..4428887 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -2809,8 +2809,8 @@ operand may be undef if performing a shuffle from only one vector.
<h5>Overview:</h5>
<p>
-The '<tt>extractvalue</tt>' instruction extracts a value
-from an aggregate value.
+The '<tt>extractvalue</tt>' instruction extracts the value of a struct field
+or array element from an aggregate value.
</p>
@@ -2819,8 +2819,8 @@ from an aggregate value.
<p>
The first operand of an '<tt>extractvalue</tt>' instruction is a
value of <a href="#t_struct">struct</a> or <a href="#t_array">array</a>
-type. The operands are constant indicies to specify which value to extract
-in the same manner as indicies in a
+type. The operands are constant indices to specify which value to extract
+in the same manner as indices in a
'<tt><a href="#i_getelementptr">getelementptr</a></tt>' instruction.
</p>
@@ -2856,7 +2856,7 @@ the index operands.
<p>
The '<tt>insertvalue</tt>' instruction inserts a value
-into a aggregate.
+into a struct field or array element in an aggregate.
</p>
@@ -2866,19 +2866,19 @@ into a aggregate.
The first operand of an '<tt>insertvalue</tt>' instruction is a
value of <a href="#t_struct">struct</a> or <a href="#t_array">array</a> type.
The second operand is a first-class value to insert.
-type of the first operand. The following operands are constant indicies
+type of the first operand. The following operands are constant indices
indicating the position at which to insert the value in the same manner as
-indicies in a
+indices in a
'<tt><a href="#i_getelementptr">getelementptr</a></tt>' instruction.
The value to insert must have the same type as the value identified
-by the indicies.
+by the indices.
<h5>Semantics:</h5>
<p>
The result is an aggregate of the same type as <tt>val</tt>. Its
value is that of <tt>val</tt> except that the value at the position
-specified by the indicies is that of <tt>elt</tt>.
+specified by the indices is that of <tt>elt</tt>.
</p>
<h5>Example:</h5>