[Mlir-commits] [mlir] [MLIR][Math] Add erfc to math dialect (PR #126439)
Jan Leyonberg
llvmlistbot at llvm.org
Fri Feb 14 08:35:02 PST 2025
================
@@ -543,6 +543,28 @@ def Math_ErfOp : Math_FloatUnaryOp<"erf"> {
let hasFolder = 1;
}
+//===----------------------------------------------------------------------===//
+// ErfcOp
+//===----------------------------------------------------------------------===//
+
+def Math_ErfcOp : Math_FloatUnaryOp<"erfc"> {
+ let summary = "complementary error function of the specified value";
+ let description = [{
+ The `erfc` operation computes the complementary error function.
+ It takes one operand of floating point type (i.e., scalar, tensor or
+ vector) and returns one result of the same type.
+ It has no standard attributes.
----------------
jsjodin wrote:
I improved the wording a bit. Hope it helps!
https://github.com/llvm/llvm-project/pull/126439
More information about the Mlir-commits
mailing list