aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/DagDefSubst.td
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-08 23:01:28 +0000
committerDan Gohman <gohman@apple.com>2009-05-08 23:01:28 +0000
commit3f03ba808ec67377da8ace6bc610f58f1738902c (patch)
tree4fe45ff07b3fa89811d6b11889ddcdf191577953 /test/TableGen/DagDefSubst.td
parentc28dd52a62a4b92eeb825cff3bec28e4f66df7e0 (diff)
downloadexternal_llvm-3f03ba808ec67377da8ace6bc610f58f1738902c.zip
external_llvm-3f03ba808ec67377da8ace6bc610f58f1738902c.tar.gz
external_llvm-3f03ba808ec67377da8ace6bc610f58f1738902c.tar.bz2
Use .td for tablegen files, not .ll.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen/DagDefSubst.td')
-rw-r--r--test/TableGen/DagDefSubst.td15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/TableGen/DagDefSubst.td b/test/TableGen/DagDefSubst.td
new file mode 100644
index 0000000..e5eebe9
--- /dev/null
+++ b/test/TableGen/DagDefSubst.td
@@ -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>;
+
+