feat: toy tutorial chapter 2.

This commit is contained in:
2025-06-02 16:17:45 +08:00
parent 1a64b78ef8
commit 8d2f844e2b
10 changed files with 1269 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
set(LLVM_TARGET_DEFINITIONS Ops.td)
mlir_tablegen(Ops.h.inc -gen-op-decls)
mlir_tablegen(Ops.cpp.inc -gen-op-defs)
mlir_tablegen(Dialect.h.inc -gen-dialect-decls)
mlir_tablegen(Dialect.cpp.inc -gen-dialect-defs)
add_public_tablegen_target(HelloOpsIncGen)