[Mlir-commits] [mlir] [MLIR] Use correct namespace for registering MLIR dialects (PR #174463)
Aiden Grossman
llvmlistbot at llvm.org
Mon Jan 5 11:01:07 PST 2026
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/174463
This seems to match how everything else was updated in the commit. This was failing in the bazel build, and possibly elsewhere.
>From f7481a13bdfec6c8d67418dac1c43b5377c860fd Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Mon, 5 Jan 2026 19:00:04 +0000
Subject: [PATCH] [MLIR] Use correct namespace for registering MLIR dialects
This seems to match how everything else was updated in the commit. This
was failing in the bazel build, and possibly elsewhere.
---
mlir/lib/Bindings/Python/DialectLLVM.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}
More information about the Mlir-commits
mailing list