[Mlir-commits] [mlir] [MLIR][Python] Make Python-defined dialect loading context-aware (PR #210501)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Jul 23 08:56:23 PDT 2026


================
@@ -3408,6 +3408,14 @@ void populateIRCore(nb::module_ &m) {
           },
           "dialect_name"_a,
           "Gets or loads a dialect by name, returning its descriptor object.")
+      .def(
+          "is_dialect_loaded",
+          [=](PyMlirContext &self, std::string &name) {
----------------
PragmaTwice wrote:

Done in https://github.com/llvm/llvm-project/pull/210501/commits/8a15f38b86b5feadb2b2c924eabaf3bd9ea21090.

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


More information about the Mlir-commits mailing list