Expanded the documentation for constant expressions to cover select
authorRobert Bocchino <bocchino@illinois.edu>
Tue, 10 Jan 2006 19:31:34 +0000 (19:31 +0000)
committerRobert Bocchino <bocchino@illinois.edu>
Tue, 10 Jan 2006 19:31:34 +0000 (19:31 +0000)
and extractelement.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25183 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index 2a1d3a1bda192773d2f9fedafe149538e298b6dd..cefac99930b7fd5276ecba2f95d16afa5bec25d5 100644 (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