Skip to content

Commit 727e1ee

Browse files
committed
Add note in Cmp op about complex dialect
1 parent 187fd85 commit 727e1ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/include/clang/CIR/Dialect/IR/CIROps.td

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,6 +1319,9 @@ def CmpOp : CIR_Op<"cmp", [Pure, SameTypeOperands]> {
13191319
`cir.bool` result. The kinds of comparison available are:
13201320
[lt,gt,ge,eq,ne]
13211321

1322+
Note: The 'complex' dialect has separate complex.eq and complex.neq
1323+
operations
1324+
13221325
```mlir
13231326
%7 = cir.cmp(gt, %1, %2) : i32, !cir.bool
13241327
```

0 commit comments

Comments
 (0)