summaryrefslogtreecommitdiffstats
path: root/llvm/test/TableGen/foreach.td
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-10-19 13:04:13 +0000
committerDavid Greene <greened@obbligato.org>2011-10-19 13:04:13 +0000
commitd699161a997082c4cc8e57ddd712eb8bdb68722c (patch)
treee5f9f948817e7e38a9a6416f3fb627109d4f9f15 /llvm/test/TableGen/foreach.td
parent7b6e641144d8ef95f3b38e1c8146930075ef4c7d (diff)
downloadbcm5719-llvm-d699161a997082c4cc8e57ddd712eb8bdb68722c.tar.gz
bcm5719-llvm-d699161a997082c4cc8e57ddd712eb8bdb68722c.zip
Add NAME Member
Add a Value named "NAME" to each Record. This will be set to the def or defm name when instantiating multiclasses. This will replace the #NAME# processing hack once paste functionality is in place. llvm-svn: 142518
Diffstat (limited to 'llvm/test/TableGen/foreach.td')
-rw-r--r--llvm/test/TableGen/foreach.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/TableGen/foreach.td b/llvm/test/TableGen/foreach.td
index cbcade921b9..814ae6ef936 100644
--- a/llvm/test/TableGen/foreach.td
+++ b/llvm/test/TableGen/foreach.td
@@ -1,6 +1,6 @@
// RUN: llvm-tblgen %s | grep {Jr} | count 2
// RUN: llvm-tblgen %s | grep {Sr} | count 2
-// RUN: llvm-tblgen %s | grep {NAME} | count 1
+// RUN: llvm-tblgen %s | grep {"NAME"} | count 1
// XFAIL: vg_leak
// Variables for foreach
OpenPOWER on IntegriCloud