[Mlir-commits] [mlir] [mlir][py] Enable loading only specified dialects during creation. (PR #121421)

Maksim Levental llvmlistbot at llvm.org
Tue Dec 31 18:15:45 PST 2024


================
@@ -5,7 +5,7 @@
 from ._mlir_libs._mlir.ir import *
 from ._mlir_libs._mlir.ir import _GlobalDebug
 from ._mlir_libs._mlir import register_type_caster, register_value_caster
-from ._mlir_libs import get_dialect_registry
+from ._mlir_libs import get_dialect_registry, append_load_on_create_dialect, get_load_on_create_dialects
----------------
makslevental wrote:

final nit: these aren't actually exercised...

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


More information about the Mlir-commits mailing list