[PATCH] D86904: [mlir] Support for defining Types in tblgen

John Demme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 18:41:19 PDT 2020


jdd updated this revision to Diff 292932.
jdd added a comment.

Adding ::get method to classes so we can keep storage types in the cpp file.

Also, modifying the custom allocator for ArrayRef parameters so as to not require types with default constructors.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86904/new/

https://reviews.llvm.org/D86904

Files:
  llvm/include/llvm/TableGen/Record.h
  llvm/lib/TableGen/Record.cpp
  mlir/cmake/modules/AddMLIR.cmake
  mlir/include/mlir/IR/OpBase.td
  mlir/include/mlir/TableGen/CodeGenHelpers.h
  mlir/include/mlir/TableGen/Operator.h
  mlir/include/mlir/TableGen/TypeDef.h
  mlir/include/mlir/TableGen/TypeDefGenHelpers.h
  mlir/lib/TableGen/CMakeLists.txt
  mlir/lib/TableGen/Operator.cpp
  mlir/lib/TableGen/TypeDef.cpp
  mlir/test/lib/Dialect/Test/CMakeLists.txt
  mlir/test/lib/Dialect/Test/TestDialect.cpp
  mlir/test/lib/Dialect/Test/TestTypeDefs.td
  mlir/test/lib/Dialect/Test/TestTypes.cpp
  mlir/test/lib/Dialect/Test/TestTypes.h
  mlir/test/mlir-tblgen/testdialect-typedefs.mlir
  mlir/test/mlir-tblgen/typedefs.td
  mlir/tools/mlir-tblgen/CMakeLists.txt
  mlir/tools/mlir-tblgen/DialectGen.cpp
  mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
  mlir/tools/mlir-tblgen/OpDocGen.cpp
  mlir/tools/mlir-tblgen/TypeDefGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86904.292932.patch
Type: text/x-patch
Size: 81002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200919/578ffcbe/attachment-0001.bin>


More information about the llvm-commits mailing list