Skip to content

MLIR index.cmp #1137

Locked Answered by lattner
alfie-nsugh asked this question in Q&A
Oct 22, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The syntax within the backticks is the low-level raw MLIR syntax for the cmp_predicate enum in the index dialect. This is documented here:
https://mlir.llvm.org/docs/Dialects/IndexOps/#indexcmp-indexcmpop

MLIR isn't super pretty about this, because it often gets sugared, e.g. at the operation level, but this needs to use the explicit syntax for it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alfie-nsugh
Comment options

Answer selected by alfie-nsugh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants