[PATCH] D43553: TableGen: Add !size operation
Artem Belevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 21 10:46:58 PST 2018
tra added inline comments.
================
Comment at: docs/TableGen/LangRef.rst:101
:!or !empty !subst !foreach !strconcat
- :!cast !listconcat
+ :!cast !listconcat !size
----------------
It would be good to add more details about !size in docs/TableGen/LangIntro.rst
================
Comment at: test/TableGen/size.td:6-20
+// CHECK: def A1 {
+// CHECK: int Val = 0;
+// CHECK: }
+
+// CHECK: def A2 {
+// CHECK: int Val = 3;
+// CHECK: }
----------------
I'd interleave those with the `def An:...` below.
Repository:
rL LLVM
https://reviews.llvm.org/D43553
More information about the llvm-commits
mailing list