Dag operator should be able to be template params.
llvm-svn: 27262
This commit is contained in:
parent
612fa8e6f3
commit
11ab8a9d3b
|
@ -0,0 +1,15 @@
|
|||
// RUN: tblgen %s | grep 'dag d = (X Y)' &&
|
||||
// RUN: tblgen %s | grep 'dag e = (Y X)'
|
||||
def X;
|
||||
|
||||
class yclass;
|
||||
def Y : yclass;
|
||||
|
||||
class C<yclass N> {
|
||||
dag d = (X N);
|
||||
dag e = (N X);
|
||||
}
|
||||
|
||||
def VAL : C<Y>;
|
||||
|
||||
|
Loading…
Reference in New Issue