mirror-llvm-project/mlir/python
Twice 044776691a
[MLIR][Python] Refine the behavior of Python-defined dialect reloading (#186128)
This includes several changes:
- `Dialect.load(reload=False)` will fail if the dialect was already
loaded in a different context. To prevent the further program abortion.
- `Dialect.load(reload=True)` implies `replace=True` in
dialect/operation registering.
- `PyGlobals::registerDialectImpl` now has a parameter `replace`.
- `register_dialect` and `register_operation` is no longer exposed in
`mlir.dialects.ext`.

This should solve the registering problem found in writing transform
test cases by @rolfmorel.
2026-03-15 10:25:24 +08:00
..
mlir [MLIR][Python] Refine the behavior of Python-defined dialect reloading (#186128) 2026-03-15 10:25:24 +08:00
CMakeLists.txt [mlir][x86] Rename x86vector to x86 (#183311) 2026-02-26 11:21:58 +01:00
requirements.txt [MLIR][Python] remove pybind11 support (#172581) 2025-12-19 09:51:22 -08:00