diff options
author | David Greene <greened@obbligato.org> | 2009-04-22 22:17:51 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-04-22 22:17:51 +0000 |
commit | 5654613a013b94a92f9ed65e1a2f34e0a8d9cfdf (patch) | |
tree | d29f21688078d41bdb26dc0a2ae1503978ccebe5 /docs/TableGenFundamentals.html | |
parent | c7cafcd815519b06318629b424abe746437e1389 (diff) | |
download | external_llvm-5654613a013b94a92f9ed65e1a2f34e0a8d9cfdf.zip external_llvm-5654613a013b94a92f9ed65e1a2f34e0a8d9cfdf.tar.gz external_llvm-5654613a013b94a92f9ed65e1a2f34e0a8d9cfdf.tar.bz2 |
Allow defm to inherit from multiple multiclasses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TableGenFundamentals.html')
-rw-r--r-- | docs/TableGenFundamentals.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index 4283917..c9d1fa3 100644 --- a/docs/TableGenFundamentals.html +++ b/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> |