Replies: 2 comments
-
How is |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think it has to do with this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Following the tutorial from the docs on creating a new boolean using MLIR, I tried to create my own new
U8
type.Yet, it is difficult to do so because the constructor (
__init__
) will need to takeInt
as a parameter and I'm not too sure how to check for the value passed into the constructor such that it doesn't overflow etc.In the MLIR docs for
index.cmp
in theindex
dialect, thecmp
operation is as follows:In the Mojo docs, the 'conversion' to Mojo's syntax is as follows:
How does
get converted to
Beta Was this translation helpful? Give feedback.
All reactions