[Mlir-commits] [mlir] Enable superset options (PR #146370)
Sasa Vuckovic
llvmlistbot at llvm.org
Mon Jun 30 11:38:15 PDT 2025
svuckovicTT wrote:
Thanks for the comments!
I tested the scenario with identical option names, it fails during runtime with:
```
mlir-opt: CommandLine Error: Option 'foo' registered more than once!
```
On one hand, it's not the optimal setup as it errors out in runtime vs compile-time. On the other hand, it errors out in runtime vs causing a silent override, and it's a very deliberate move to subclass multiple Option classes.
Lmk what you think!
https://github.com/llvm/llvm-project/pull/146370
More information about the Mlir-commits
mailing list