Fix pr4552. Stack slot coloring with register must take care not to generate illegal...
[oota-llvm.git] / docs / TableGenFundamentals.html
index 05b2b233e6a1ca709aa055eedf70bab90ebb0cfd..ec87f2967cb4c8e135389c01f5e85abff8d63e5e 100644 (file)
@@ -411,7 +411,8 @@ which case the user must specify it explicitly.</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>
+aborts with an error. !cast<string> is a special case in that the argument must
+be an object defined by a 'def' construct.</dd>
 <dt><tt>!nameconcat&lt;type&gt;(a, b)</tt></dt>
   <dd>Shorthand for !cast<type>(!strconcat(a, b))</dd>
 <dt><tt>!subst(a, b, c)</tt></dt>