================
@@ -6062,6 +6088,34 @@ def CIR_ComplexDivOp :
CIR_ComplexRangeBinOp<"complex.div"> {
}];
}
+//===----------------------------------------------------------------------===//
+// ComplexConjOp
+//===----------------------------------------------------------------------===//
+
+def CIR_ComplexConjOp
+ : CIR_Op<"complex.conj", [Pure, SameOperandsAndResultType]> {
+ let summary = "Complex conjugate";
+ let description = [{
+ The `cir.complex.conj` operation takes a complex number and returns its
+ complex conjugate, which is formed by negating the imaginary part.
----------------
erichkeane wrote:
ah, Conjugate!
https://github.com/llvm/llvm-project/pull/201727
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits