[PATCH] D44110: TableGen: Add !dag function for construction

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 5 12:20:37 PST 2018


nhaehnle created this revision.
nhaehnle added reviewers: arsenm, craig.topper, tra, MartinO.
Herald added a subscriber: wdng.
nhaehnle added a dependency: D44109: TableGen: Add a defset statement.
nhaehnle added a dependent revision: D44111: TableGen: Allow ? in lists.

This allows constructing DAG nodes with programmatically determined
names, and can simplify constructing DAG nodes in other cases as
well.

Also, add documentation and some very simple tests for the already
existing !con.

Change-Id: Ida61cd82e99752548d7109ce8da34d29da56a5f7


Repository:
  rL LLVM

https://reviews.llvm.org/D44110

Files:
  docs/TableGen/LangIntro.rst
  docs/TableGen/LangRef.rst
  include/llvm/TableGen/Record.h
  lib/TableGen/Record.cpp
  lib/TableGen/TGLexer.cpp
  lib/TableGen/TGLexer.h
  lib/TableGen/TGParser.cpp
  test/TableGen/dag-functional.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44110.137058.patch
Type: text/x-patch
Size: 7942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180305/2d520ba9/attachment.bin>


More information about the llvm-commits mailing list