Is it possible to use MLIR dialects?
Hi, I am trying to use MLIR dialects in mojo (other than index), I get unregistered dialect error. Is it possible to register other dialects?
Also, is it possible to see generated MLIR?
error
3 Replies
Only index and llvm dialects are shipped/available right now:
- https://github.com/modularml/mojo/issues/1064#issuecomment-1766939631
- https://docs.modular.com/mojo/roadmap.html#only-certain-loaded-mlir-dialects-can-be-accessed
I haven't seen any way to dump generated MLIR.
Modular Docs - Mojo🔥 roadmap & sharp edges
A summary of our Mojo plans, including upcoming features and things we need to fix.
GitHub
[BUG]: `error: unable to infer result type from MLIR operation 'cf....
Bug description I am attempting to create my own U8 which represents an unsigned 8-bits integer. For the add dunder method, as Mojo doesn't allow for raises context within alias initializat...
GitHub
Issues · modularml/mojo
The Mojo Programming Language. Contribute to modularml/mojo development by creating an account on GitHub.
Thanks, I am looking for this feature