[llvm-commits] [llvm] r173481 - /llvm/trunk/test/TableGen/math.td
Hal Finkel
hfinkel at anl.gov
Fri Jan 25 12:29:25 PST 2013
Author: hfinkel
Date: Fri Jan 25 14:29:25 2013
New Revision: 173481
URL: http://llvm.org/viewvc/llvm-project?rev=173481&view=rev
Log:
Improve the !add TableGen test case.
Suggested by Sean Silva.
Modified:
llvm/trunk/test/TableGen/math.td
Modified: llvm/trunk/test/TableGen/math.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/TableGen/math.td?rev=173481&r1=173480&r2=173481&view=diff
==============================================================================
--- llvm/trunk/test/TableGen/math.td (original)
+++ llvm/trunk/test/TableGen/math.td Fri Jan 25 14:29:25 2013
@@ -5,11 +5,14 @@
}
def v1024 : Int<1024>;
+// CHECK: def v1024
// CHECK: Value = 1024
def v1025 : Int<!add(v1024.Value, 1)>;
+// CHECK: def v1025
// CHECK: Value = 1025
def v2048 : Int<!add(v1024.Value, v1024.Value)>;
+// CHECK: def v2048
// CHECK: Value = 2048
More information about the llvm-commits
mailing list