[Mlir-commits] [mlir] [mlir] Expand error message to include unregistered dialects. (PR #158028)
Jacques Pienaar
llvmlistbot at llvm.org
Fri Sep 12 05:40:28 PDT 2025
jpienaar wrote:
If your input contains some registered, some unregistered (loaded & unloaded) dialects, then the error returned is confusing: you see list of registered dialects and it failed to parse, but it gets further than one would expect given the list of dialects reported ("why did it fail on X post parsing A but neither A nor X is registered?"). It really matters what is or could be loaded instead of registered as to why parsing failed.
[now it may also be an oversight that folks have loaded but unregistered dialects, which is why I still mark it]
https://github.com/llvm/llvm-project/pull/158028
More information about the Mlir-commits
mailing list