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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jan 5 11:18:34 PST 2026


Author: Aiden Grossman
Date: 2026-01-05T11:18:30-08:00
New Revision: 2fcbd6ba04b172bb9008c827e6def4714c24989e

URL: https://github.com/llvm/llvm-project/commit/2fcbd6ba04b172bb9008c827e6def4714c24989e
DIFF: https://github.com/llvm/llvm-project/commit/2fcbd6ba04b172bb9008c827e6def4714c24989e.diff

LOG: [MLIR] Use correct namespace for registering MLIR dialects (#174463)

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

Fixes
https://github.com/llvm/llvm-project/commit/ee3338d135adc183fbd2fc7dc28af6a34bdaa60a.

Added: 
    

Modified: 
    mlir/lib/Bindings/Python/DialectLLVM.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Bindings/Python/DialectLLVM.cpp b/mlir/lib/Bindings/Python/DialectLLVM.cpp
index 6056bb3265911..a0fec7504ab6b 100644
--- a/mlir/lib/Bindings/Python/DialectLLVM.cpp
+++ b/mlir/lib/Bindings/Python/DialectLLVM.cpp
@@ -212,5 +212,6 @@ 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