[Mlir-commits] [mlir] [mlir] add MlirOptMain config callback for context configuration (PR #68228)

Mehdi Amini llvmlistbot at llvm.org
Wed Oct 4 09:13:50 PDT 2023


joker-eph wrote:

> Clients of MlirOptMain, especially downstream, may want to perform additional configuration of the context before running the pass pipeline and are currently unable to do so. This configuration may include preloading dialects (e.g., if a downstream wishes to make some of its dialects "built-in"),

This is very intentional, and the very motivation for **not** doing it: the whole registration infra has been designed to prevent that for example.


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


More information about the Mlir-commits mailing list