[clang] [CIR] Implement NotEqualOp for ComplexType (PR #146129)
Amr Hesham via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 1 10:11:01 PDT 2025
================
@@ -1319,6 +1319,9 @@ def CmpOp : CIR_Op<"cmp", [Pure, SameTypeOperands]> {
`cir.bool` result. The kinds of comparison available are:
[lt,gt,ge,eq,ne]
+ Note: The 'complex' dialect has separate complex.eq and complex.neq
+ operations
+
----------------
AmrDeveloper wrote:
We don't have op for Complex eq and neq, but as far as i understood, the complex dialect still has
https://github.com/llvm/llvm-project/blob/21d5017a05d1f57ee54b20cb982eea263dd855d9/mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td#L236
https://github.com/llvm/llvm-project/pull/146129
More information about the cfe-commits
mailing list