[llvm] [llvm][TableGen] Add a README to the main TableGen folder (PR #69943)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 11:33:32 PDT 2023
================
@@ -0,0 +1,54 @@
+# LLVM TableGen
+
+The purpose of TableGen is to generate complex output files based on information
+from source files that are significantly easier to code than the output files would be, and also easier to maintain and modify over time.
+
+The information is coded in a declarative style involving classes and records,
+which are then processed by TableGen.
+
+```
+class Hello <string _msg> {
+ string msg = !strconcat("Hello ", _msg);
----------------
mshockwave wrote:
nit: why is the indentation here different from that of line 19 and 23?
https://github.com/llvm/llvm-project/pull/69943
More information about the llvm-commits
mailing list