[Mlir-commits] [mlir] [MLIR][Python] Use correct namespace for registering SMT dialect (PR #174468)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jan 5 11:23:28 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Maksim Levental (makslevental)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/174468.diff


1 Files Affected:

- (modified) mlir/lib/Bindings/Python/DialectSMT.cpp (+1-1) 


``````````diff
diff --git a/mlir/lib/Bindings/Python/DialectSMT.cpp b/mlir/lib/Bindings/Python/DialectSMT.cpp
index 2edf9bb48c18d..f13604abb4751 100644
--- a/mlir/lib/Bindings/Python/DialectSMT.cpp
+++ b/mlir/lib/Bindings/Python/DialectSMT.cpp
@@ -121,5 +121,5 @@ static void populateDialectSMTSubmodule(nanobind::module_ &m) {
 NB_MODULE(_mlirDialectsSMT, m) {
   m.doc() = "MLIR SMT Dialect";
 
-  python::mlir::smt::populateDialectSMTSubmodule(m);
+  python::MLIR_BINDINGS_PYTHON_DOMAIN::smt::populateDialectSMTSubmodule(m);
 }

``````````

</details>


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


More information about the Mlir-commits mailing list