summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-04-22 22:17:51 +0000
committerDavid Greene <greened@obbligato.org>2009-04-22 22:17:51 +0000
commitf00919a040917799b619e5f00c4d586c9f3db108 (patch)
treeb0d91197894ccc916699d979b2c8a2f57a05242a /llvm/docs
parent2e43ab535b9c4cc4a91eccacb00499b99bd78bcc (diff)
downloadbcm5719-llvm-f00919a040917799b619e5f00c4d586c9f3db108.tar.gz
bcm5719-llvm-f00919a040917799b619e5f00c4d586c9f3db108.zip
Allow defm to inherit from multiple multiclasses.
llvm-svn: 69832
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/TableGenFundamentals.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/docs/TableGenFundamentals.html b/llvm/docs/TableGenFundamentals.html
index 42839176cbf..c9d1fa3b3f1 100644
--- a/llvm/docs/TableGenFundamentals.html
+++ b/llvm/docs/TableGenFundamentals.html
@@ -632,9 +632,10 @@ Here is an example TableGen fragment that shows this idea:
<p>The name of the resultant definitions has the multidef fragment names
appended to them, so this defines <tt>ADD_rr</tt>, <tt>ADD_ri</tt>,
- <tt>SUB_rr</tt>, etc. Using a multiclass this way is exactly
- equivalent to instantiating the classes multiple times yourself,
- e.g. by writing:</p>
+ <tt>SUB_rr</tt>, etc. A defm may inherit from multiple multiclasses,
+ instantiating definitions from each multiclass. Using a multiclass
+ this way is exactly equivalent to instantiating the classes multiple
+ times yourself, e.g. by writing:</p>
<div class="doc_code">
<pre>
OpenPOWER on IntegriCloud