[Mlir-commits] [mlir] [mlir][python] enable registering dialects with the default `Context` (PR #72488)

Stella Laurenzo llvmlistbot at llvm.org
Mon Nov 27 12:01:16 PST 2023


================
@@ -56,14 +56,24 @@ def get_include_dirs() -> Sequence[str]:
 #
 # This facility allows downstreams to customize Context creation to their
 # needs.
+
+
+def get_registry():
----------------
stellaraccident wrote:

If we're spelling it out as part of the public namespace, might as well be consistent and call it "dialect_registry" vs "registry" here and elsewhere.

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


More information about the Mlir-commits mailing list