Update the description of first-class types to reflect that

structs and arrays are now first-class. And fix a sentance
fragment in the insertvalue description. Thanks to Chris
for pointing these out!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-05-23 21:53:15 +00:00
parent 80f0f616e8
commit c4b49eb985

View File

@ -1066,8 +1066,7 @@ classifications:</p>
<p>The <a href="#t_firstclass">first class</a> types are perhaps the
most important. Values of these types are the only ones which can be
produced by instructions, passed as arguments, or used as operands to
instructions. This means that all structures and arrays must be
manipulated either by pointer or by component.</p>
instructions.</p>
</div>
<!-- ======================================================================= -->
@ -2956,7 +2955,7 @@ into a struct field or array element in an 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 indices
The following operands are constant indices
indicating the position at which to insert the value in the same manner as
indices in a
'<tt><a href="#i_getelementptr">getelementptr</a></tt>' instruction.