[llvm-commits] [llvm] r115741 - in /llvm/trunk/test/TableGen: Dag.td DagIntSubst.td

Chris Lattner sabre at nondot.org
Tue Oct 5 21:37:17 PDT 2010


Author: lattner
Date: Tue Oct  5 23:37:17 2010
New Revision: 115741

URL: http://llvm.org/viewvc/llvm-project?rev=115741&view=rev
Log:
rename add some comments.

Added:
    llvm/trunk/test/TableGen/Dag.td
      - copied, changed from r115740, llvm/trunk/test/TableGen/DagIntSubst.td
Removed:
    llvm/trunk/test/TableGen/DagIntSubst.td

Copied: llvm/trunk/test/TableGen/Dag.td (from r115740, llvm/trunk/test/TableGen/DagIntSubst.td)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/TableGen/Dag.td?p2=llvm/trunk/test/TableGen/Dag.td&p1=llvm/trunk/test/TableGen/DagIntSubst.td&r1=115740&r2=115741&rev=115741&view=diff
==============================================================================
--- llvm/trunk/test/TableGen/DagIntSubst.td (original)
+++ llvm/trunk/test/TableGen/Dag.td Tue Oct  5 23:37:17 2010
@@ -1,5 +1,8 @@
 // RUN: tblgen %s | FileCheck %s
 // XFAIL: vg_leak
+
+//===----------------------------------------------------------------------===//
+// Substitution of an int.
 def X1;
 
 class C1<int N> {
@@ -12,6 +15,8 @@
 // CHECK-NEXT: dag d = (X1 13)
 
 
+//===----------------------------------------------------------------------===//
+// Substitution of a DAG.
 def X2;
 
 class yclass;

Removed: llvm/trunk/test/TableGen/DagIntSubst.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/TableGen/DagIntSubst.td?rev=115740&view=auto
==============================================================================
--- llvm/trunk/test/TableGen/DagIntSubst.td (original)
+++ llvm/trunk/test/TableGen/DagIntSubst.td (removed)
@@ -1,30 +0,0 @@
-// RUN: tblgen %s | FileCheck %s
-// XFAIL: vg_leak
-def X1;
-
-class C1<int N> {
-  dag d = (X1 N);
-}
-
-def VAL1 : C1<13>;
-
-// CHECK: def VAL1 {
-// CHECK-NEXT: dag d = (X1 13)
-
-
-def X2;
-
-class yclass;
-def Y2 : yclass;
-
-class C2<yclass N> {
-  dag d = (X2 N);
-  dag e = (N X2);
-}
-
-def VAL2 : C2<Y2>;
-
-// CHECK: def VAL2 {
-// CHECK-NEXT: dag d = (X2 Y2)
-// CHECK-NEXT: dag e = (Y2 X2)
-





More information about the llvm-commits mailing list