M
Modular14mo ago
avi_0682

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.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server