[llvm-commits] CVS: llvm/test/Regression/TableGen/DagDefSubst.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 30 14:50:11 PST 2006
Changes in directory llvm/test/Regression/TableGen:
DagDefSubst.ll added (r1.1)
---
Log message:
Dag operator should be able to be template params.
---
Diffs of the changes: (+15 -0)
DagDefSubst.ll | 15 +++++++++++++++
1 files changed, 15 insertions(+)
Index: llvm/test/Regression/TableGen/DagDefSubst.ll
diff -c /dev/null llvm/test/Regression/TableGen/DagDefSubst.ll:1.1
*** /dev/null Thu Mar 30 16:50:09 2006
--- llvm/test/Regression/TableGen/DagDefSubst.ll Thu Mar 30 16:49:59 2006
***************
*** 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>;
+
+
More information about the llvm-commits
mailing list