[Mlir-commits] [mlir] [mlir][linalg] Add sin, cos, tan to elementwise operations (PR #200950)
Vinit Deodhar
llvmlistbot at llvm.org
Sat Jun 6 00:14:10 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.
----------------
vinitdeodhar wrote:
Thanks, updated the comment
https://github.com/llvm/llvm-project/pull/200950
More information about the Mlir-commits
mailing list