[Mlir-commits] [mlir] [mlir] add MlirOptMain config callback for context configuration (PR #68228)
Stella Laurenzo
llvmlistbot at llvm.org
Wed Oct 4 09:19:58 PDT 2023
stellaraccident wrote:
> Could you expand why this hooks are needed vs downstream folks just customizing the context as they need? (e.g., what is the alternative, should MlirOptMain be taking a context instead of or in addition to a dialect registry?)
I think the hook is a nice compromise position that lets the tool keep ownership while also enabling new uses.
https://github.com/llvm/llvm-project/pull/68228
More information about the Mlir-commits
mailing list