[LLVMdev] Nested multiclass/defm declarations?

Dan Gohman djg at cray.com
Fri Sep 21 07:21:49 PDT 2007


On Thu, Sep 13, 2007 at 03:36:26PM +0200, Andreas Fredriksson wrote:
> However, tablegen doesn't appear to grok defm declarations within
> multiclass declaration, so that was a showstopper.
> 
> Does this make sense, or is there another way to achieve the same effect?

Allowing nested multiclasses sounds useful to me. There's quite a bit of
redundancy in the X86 tablegen files that could be helped by such a
feature as well.

Dan

-- 
Dan Gohman, Cray Inc.



More information about the llvm-dev mailing list