mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00:00
Dag operator should be able to be template params.
llvm-svn: 27262
This commit is contained in:
parent
e57e873543
commit
0220aa8d3c
15
test/Regression/TableGen/DagDefSubst.ll
Normal file
15
test/Regression/TableGen/DagDefSubst.ll
Normal file
@ -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
Block a user