[Mlir-commits] [mlir] [MLIR][NVVM] Add `nvvm.tanh` OP (PR #199525)

Durgadoss R llvmlistbot at llvm.org
Mon May 25 06:49:14 PDT 2026


================
@@ -501,6 +501,30 @@ def NVVM_Ex2Op : NVVM_F32UnaryApproxOp<"ex2"> {
   }];
 }
 
+def NVVM_TanhOp : NVVM_Op<"tanh", [Pure, SameOperandsAndResultType]> {
----------------
durga4github wrote:

Can we not derive from F32UnaryApproxOp?

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


More information about the Mlir-commits mailing list