[Mlir-commits] [mlir] [mlir][LLVMIR] Add sinh/cosh/tanh intrinsic ops (PR #111912)
Jacob Mai Peng
llvmlistbot at llvm.org
Fri Oct 11 08:42:55 PDT 2024
================
@@ -112,6 +112,25 @@ llvm.func @cos_test(%arg0: f32, %arg1: vector<8xf32>) {
llvm.return
}
+// CHECK-LABEL: @hyperbolic_trig_test
+llvm.func @hyperbolic_trig_test(%arg0: f32, %arg1: vector<8xf32>) {
+ // CHECK: call float @llvm.sinh.f32
+ "llvm.intr.sinh"(%arg0) : (f32) -> f32
----------------
pengmai wrote:
Sure thing, I updated this test to use the pretty printed form.
https://github.com/llvm/llvm-project/pull/111912
More information about the Mlir-commits
mailing list