[Mlir-commits] [mlir] [mlir] Initial patch to add an MPI dialect (PR #68892)

Kunwar Grover llvmlistbot at llvm.org
Wed Dec 20 10:40:25 PST 2023


================
@@ -0,0 +1,25 @@
+add_mlir_dialect(MPI mpi)
+add_mlir_doc(MPI MPI Dialects/ -gen-dialect-doc)
+
+# Add MPI operations
+set(LLVM_TARGET_DEFINITIONS MPIOps.td)
+mlir_tablegen(MPIOps.h.inc -gen-op-decls)
+mlir_tablegen(MPIOps.cpp.inc -gen-op-defs)
+add_public_tablegen_target(MLIRMPIOpsIncGen)
+add_dependencies(mlir-generic-headers MLIRMPIOpsIncGen)
----------------
Groverkss wrote:

mlir-generic-headers are dialect independent. I don't think we should be adding a dependency of MPI dialect on them.

https://github.com/llvm/llvm-project/pull/68892


More information about the Mlir-commits mailing list