[PATCH] D88036: Version 0.5 of the "TableGen Backend Developer's Guide"
Chris Lattner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 12:12:29 PDT 2020
lattner added a subscriber: jpienaar.
lattner added a comment.
Very cool! + @jpienaar in case you're interested.
================
Comment at: llvm/docs/TableGen/BackEnds.rst:17
+
+TableGen is used by both LLVM and Clang with very different goals. LLVM uses
+it as a way to automate the generation of massive amounts of information
----------------
Might mention MLIR as well, which uses TableGen extensively as the basis for its ODS system:
https://mlir.llvm.org/docs/OpDefinitions/
================
Comment at: llvm/lib/TableGen/TableGenBackendSkeleton.cpp:1
+//===- [SkeletonEmitter.cpp - Skeleton TableGen backend] -*- C++ -*-===//
+//
----------------
I think that adding an example backend is a good idea, but please make it valid C++ code that follows the coding standard etc.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88036/new/
https://reviews.llvm.org/D88036
More information about the llvm-commits
mailing list