avi_0682
MModular
•Created by avi_0682 on 10/22/2023 in #questions
MLIR syntax
In the low level IR in mojo tutorial I saw this line
return Self(__mlir_op.
index.cmp
.[pred=#index<cmp_predicate eq>
])(lhsIndex, rhsIndex))
I'm just a bit confused as to what #index<cmp_predicate> does. I wanted to try to make structs that use a different MLIR dialect. But because I found this syntax confusing I don't really know how I could generalize this.1 replies