[Mlir-commits] [mlir] [MLIR] Use correct namespace for registering MLIR dialects (PR #174463)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jan 5 11:01:38 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Aiden Grossman (boomanaiden154)

<details>
<summary>Changes</summary>

This seems to match how everything else was updated in the commit. This was failing in the bazel build, and possibly elsewhere.

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


1 Files Affected:

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


``````````diff
diff --git a/mlir/lib/Bindings/Python/DialectLLVM.cpp b/mlir/lib/Bindings/Python/DialectLLVM.cpp
index 6056bb3265911..a06766bd2da94 100644
--- a/mlir/lib/Bindings/Python/DialectLLVM.cpp
+++ b/mlir/lib/Bindings/Python/DialectLLVM.cpp
@@ -212,5 +212,5 @@ static void populateDialectLLVMSubmodule(nanobind::module_ &m) {
 NB_MODULE(_mlirDialectsLLVM, m) {
   m.doc() = "MLIR LLVM Dialect";
 
-  python::mlir::llvm::populateDialectLLVMSubmodule(m);
+  mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::llvm::populateDialectLLVMSubmodule(m);
 }

``````````

</details>


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


More information about the Mlir-commits mailing list