[PATCH] D77133: [mlir] Add an out-of-tree dialect example
Jean-Michel Gorius via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 1 03:52:27 PDT 2020
Kayjukh updated this revision to Diff 254153.
Kayjukh marked 10 inline comments as done.
Kayjukh added a comment.
The custom `standalone.foo` operation now makes use of the declarative assembly syntax form instead of manually providing a parser and a printer.
I also removed an unneeded CMake definition in the build instructions and significantly reduced the list of libraries that get linked to `standalone-opt`. Since this list was a copy-pasted version of the `CMakeLists.txt` from the current `mlir-opt` tool, it might be a good idea to do a cleanup pass over the latter one.
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.254153.patch
Type: text/x-patch
Size: 21258 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200401/af14ac2b/attachment.bin>
More information about the llvm-commits
mailing list