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 | 080d215b811948919ced416c86f64bce7e14cc42 (patch) | |
tree | d29f21688078d41bdb26dc0a2ae1503978ccebe5 /docs | |
parent | 790e1227d47610b36521e441d230bb825251ad6c (diff) | |
download | external_llvm-080d215b811948919ced416c86f64bce7e14cc42.zip external_llvm-080d215b811948919ced416c86f64bce7e14cc42.tar.gz external_llvm-080d215b811948919ced416c86f64bce7e14cc42.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')
-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> |