[Mlir-commits] [mlir] [mlir][linalg] Add sin, cos, tan to elementwise operations (PR #200950)

Javed Absar llvmlistbot at llvm.org
Fri Jun 5 03:11:21 PDT 2026


================
@@ -224,6 +224,16 @@ static FailureOr<LinalgOp> specializeLinalgElementwise(RewriterBase &rewriter,
     if (isa<math::ErfOp>(op))
       return replaceOp(ErfOp{}, ElementwiseKind::erf);
 
+    // sin, cos, tan only have the category (elementwise) form, no named op.
----------------
javedabsar1 wrote:

/// sin, cos, tan only have the category (elementwise) form, but no linalg. * named op equivalent..

https://github.com/llvm/llvm-project/pull/200950


More information about the Mlir-commits mailing list