[llvm-commits] [llvm] r141230 - /llvm/trunk/include/llvm/TableGen/Record.h

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Oct 6 07:30:33 PDT 2011


On Oct 5, 2011, at 3:42 PM, David Greene wrote:

> Author: greened
> Date: Wed Oct  5 17:42:17 2011
> New Revision: 141230
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=141230&view=rev
> Log:
> Add Multidef Data Structures
> 
> Add a set of data structures and members analogous to those used for
> multiclass defs.  These will represent a new kind of multiclass def: a
> multidef.  The idea behind the multidef is to process a list of items
> and create a def record for each one inside the enclosing multiclass.
> This allows the user to dynamically create a set of defs based on the
> contents of a list.

Hi David,

Was this new feature reviewed?

I liked Che-Liang Chiou's for loops better: http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-August/042669.html

It seems very limiting that multidefs only can be used inside multiclasses.

/jakob





More information about the llvm-commits mailing list