Implement !cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71794 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html
index 8cc6f90..48fdd2a 100644
--- a/docs/TableGenFundamentals.html
+++ b/docs/TableGenFundamentals.html
@@ -398,11 +398,12 @@
<dt><tt>!strconcat(a, b)</tt></dt>
<dd>A string value that is the result of concatenating the 'a' and 'b'
strings.</dd>
+<dt><tt>!cast<type>(a)</tt></dt>
+ <dd>A symbol of type <em>type</em> obtained by looking up the string 'a' in
+the symbol table. If the type of 'a' does not match <em>type</em>, TableGen
+aborts with an error. </dd>
<dt><tt>!nameconcat<type>(a, b)</tt></dt>
- <dd>A value that is the result of concatenating the 'a' and 'b'
- strings and looking up the resulting name in the symbol table. The symbol type
- determines the type of the resulting value. If the symbol is not found
- or the symbol type does not match 'type,' TableGen emits an error and aborts.</dd>
+ <dd>Shorthand for !cast<type>(!strconcat(a, b))</dd>
</dl>
<p>Note that all of the values have rules specifying how they convert to values