From 080d215b811948919ced416c86f64bce7e14cc42 Mon Sep 17 00:00:00 2001 From: David Greene Date: Wed, 22 Apr 2009 22:17:51 +0000 Subject: Allow defm to inherit from multiple multiclasses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69832 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/TableGenFundamentals.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs') 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:

The name of the resultant definitions has the multidef fragment names appended to them, so this defines ADD_rr, ADD_ri, - SUB_rr, etc. Using a multiclass this way is exactly - equivalent to instantiating the classes multiple times yourself, - e.g. by writing:

+ SUB_rr, 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:

-- 
cgit v1.1