[Mlir-commits] [llvm] [mlir] [mlir][emitc] Add support for C-API/python binding to EmitC dialect (PR #119476)
Maksim Levental
llvmlistbot at llvm.org
Tue Dec 10 21:55:04 PST 2024
================
@@ -352,6 +352,13 @@ declare_mlir_python_sources(
dialects/quant.py
_mlir_libs/_mlir/dialects/quant.pyi)
+declare_mlir_dialect_python_bindings(
+ ADD_TO_PARENT MLIRPythonSources.Dialects
+ ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mlir"
+ TD_FILE dialects/EmitC.td
+ SOURCES dialects/emitc.py
+ DIALECT_NAME emitc)
+
----------------
makslevental wrote:
nit: can you make this match the indenting in the rest of the file
https://github.com/llvm/llvm-project/pull/119476
More information about the Mlir-commits
mailing list