[Mlir-commits] [mlir] [mlir][math] Add Polynomial Approximation for few ops (PR #90718)
Prashant Kumar
llvmlistbot at llvm.org
Wed May 1 04:34:12 PDT 2024
================
@@ -1316,6 +1358,106 @@ LogicalResult SinAndCosApproximation<isSine, OpTy>::matchAndRewrite(
return success();
}
+//----------------------------------------------------------------------------//
+// SinhOp and CoshOp approximation.
+//----------------------------------------------------------------------------//
+
+namespace {
+
+template <bool isSine, typename OpTy>
----------------
pashu123 wrote:
There is no need to pass the template parameter `isSine`. It can be deduced later.
https://github.com/llvm/llvm-project/pull/90718
More information about the Mlir-commits
mailing list