Expanded the documentation for constant expressions to cover select

and extractelement.

llvm-svn: 25183
This commit is contained in:
Robert Bocchino 2006-01-10 19:31:34 +00:00
parent 599e73f21c
commit 7e97a6dc59
1 changed files with 10 additions and 0 deletions

View File

@ -1086,6 +1086,16 @@ following is the syntax for constant expressions:</p>
instruction, the index list may have zero or more indexes, which are required
to make sense for the type of "CSTPTR".</dd>
<dt><b><tt>select ( COND, VAL1, VAL2 )</tt></b></dt>
<dd>Perform the <a href="#i_select">select operation</a> on
constants.
<dt><b><tt>extractelement ( VAL, IDX )</tt></b></dt>
<dd>Perform the <a href="#i_extractelement">extractelement
operation</a> on constants.
<dt><b><tt>OPCODE ( LHS, RHS )</tt></b></dt>
<dd>Perform the specified operation of the LHS and RHS constants. OPCODE may