[PATCH] D77133: [mlir] Add an out-of-tree dialect example

Jean-Michel Gorius via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 17:39:33 PDT 2020


Kayjukh updated this revision to Diff 254048.
Kayjukh marked an inline comment as done.
Kayjukh edited the summary of this revision.
Kayjukh added a comment.

This update adds build instructions to the README file as well as an example of a user-defined operation.

The custom operation does not use the declarative TableGen assembly form even though it could really benefit from it. I think it illustrates the more general case, but I am open to further discussing this point.


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

https://reviews.llvm.org/D77133

Files:
  mlir/examples/standalone/CMakeLists.txt
  mlir/examples/standalone/README.md
  mlir/examples/standalone/include/CMakeLists.txt
  mlir/examples/standalone/include/Standalone/CMakeLists.txt
  mlir/examples/standalone/include/Standalone/StandaloneDialect.h
  mlir/examples/standalone/include/Standalone/StandaloneDialect.td
  mlir/examples/standalone/include/Standalone/StandaloneOps.h
  mlir/examples/standalone/include/Standalone/StandaloneOps.td
  mlir/examples/standalone/lib/CMakeLists.txt
  mlir/examples/standalone/lib/Standalone/CMakeLists.txt
  mlir/examples/standalone/lib/Standalone/StandaloneDialect.cpp
  mlir/examples/standalone/lib/Standalone/StandaloneOps.cpp
  mlir/examples/standalone/standalone-opt/CMakeLists.txt
  mlir/examples/standalone/standalone-opt/standalone-opt.cpp
  mlir/examples/standalone/test/CMakeLists.txt
  mlir/examples/standalone/test/Standalone/dummy.mlir
  mlir/examples/standalone/test/lit.cfg.py
  mlir/examples/standalone/test/lit.site.cfg.py.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77133.254048.patch
Type: text/x-patch
Size: 22909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200401/0eff240b/attachment-0001.bin>


More information about the llvm-commits mailing list