[llvm-commits] [llvm] r141101 - /llvm/trunk/lib/TableGen/Record.cpp
Chris Lattner
clattner at apple.com
Tue Oct 4 12:06:12 PDT 2011
On Oct 4, 2011, at 11:55 AM, David Greene wrote:
> Author: greened
> Date: Tue Oct 4 13:55:36 2011
> New Revision: 141101
>
> URL: http://llvm.org/viewvc/llvm-project?rev=141101&view=rev
> Log:
> Allow Operator Arguments
>
> When resolving an operator list element reference, resolve all
> operator operands and try to fold the operator first. This allows the
> operator to collapse to a list which may then be indexed.
>
> Before, it was not possible to do this:
> class D<int a, int b> { ... }
> class C<list<int> A> : D<A[0], A[1]>;
> class B<list<int> b> : C<!foreach(...,b)>;
Hi David,
Please make sure to document all new features in the tblgen document.
-Chris
More information about the llvm-commits
mailing list