summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2013-01-30 20:39:46 +0000
committerSean Silva <silvas@purdue.edu>2013-01-30 20:39:46 +0000
commit1330eccb5f8efd0bf6b272d8241326a3a4780e30 (patch)
treea425b7471f3f7a040ca6196ce30e616a8be2bf01 /llvm/docs
parentb3c04d28c8b24cfc2642b79198a1bdf500a34697 (diff)
downloadbcm5719-llvm-1330eccb5f8efd0bf6b272d8241326a3a4780e30.tar.gz
bcm5719-llvm-1330eccb5f8efd0bf6b272d8241326a3a4780e30.zip
[docs] Guide prospective TableGen backend writers.
Boilerplate is often the hardest part of getting started with these kinds of things, so throw them a bone. llvm-svn: 173969
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/TableGenFundamentals.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/TableGenFundamentals.rst b/llvm/docs/TableGenFundamentals.rst
index 526795f53d0..4fe4bb986a2 100644
--- a/llvm/docs/TableGenFundamentals.rst
+++ b/llvm/docs/TableGenFundamentals.rst
@@ -791,6 +791,10 @@ Expressions used by code generator to describe instructions and isel patterns:
TableGen backends
=================
+Until we get a step-by-step HowTo for writing TableGen backends, you can at
+least grab the boilerplate (build system, new files, etc.) from Clang's
+r173931.
+
TODO: How they work, how to write one. This section should not contain details
about any particular backend, except maybe ``-print-enums`` as an example. This
should highlight the APIs in ``TableGen/Record.h``.
OpenPOWER on IntegriCloud