[PATCH] D73405: [mlir] Add initial support for parsing a declarative operation assembly format

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 25 01:06:22 PST 2020


rriddle created this revision.
rriddle added reviewers: jpienaar, antiagainst.
Herald added subscribers: llvm-commits, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, shauheen, burmako, mehdi_amini, mgorny.
Herald added a reviewer: nicolasvasilache.
Herald added a project: LLVM.
rriddle added a child revision: D73406: [mlir] Add support for generating the parser/printer from the declarative operation format..

This is the first revision in a series that adds support for declaratively specifying the asm format of an operation. This revision
focuses solely on parsing the format. Future revisions will add support for generating the proper parser/printer, as well as
transitioning the syntax definition of many existing operations.

This was originally proposed here:
https://llvm.discourse.group/t/rfc-declarative-op-assembly-format/340


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73405

Files:
  mlir/include/mlir/IR/OpBase.td
  mlir/include/mlir/TableGen/Type.h
  mlir/lib/TableGen/Type.cpp
  mlir/test/mlir-tblgen/op-format-spec.td
  mlir/tools/mlir-tblgen/CMakeLists.txt
  mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
  mlir/tools/mlir-tblgen/OpFormatGen.cpp
  mlir/tools/mlir-tblgen/OpFormatGen.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73405.240360.patch
Type: text/x-patch
Size: 43101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200125/74b996c1/attachment.bin>


More information about the llvm-commits mailing list