xref: /llvm-project/mlir/test/python/ir/custom_dialect/custom.py (revision 5192e299cf444040025ccf3e75bfad36b4624050)
1# The purpose of this empty dialect module is to enable successfully loading the "custom" dialect.
2# Without this file here (and a corresponding _cext.globals.append_dialect_search_prefix("custom_dialect")),
3# PyGlobals::loadDialectModule would search and fail to find the "custom" dialect for each Operation.create("custom.op")
4# (amongst other things).
5