[Mlir-commits] [mlir] [TOSA] Add lowering for `tosa.sin` and `tosa.cos` (PR #99651)

Jack Frankland llvmlistbot at llvm.org
Fri Jul 19 07:27:30 PDT 2024


================
@@ -545,6 +545,14 @@ func.func @test_simple_f32(%arg0: tensor<1xf32>) -> () {
   // CHECK: math.erf
   %24 = tosa.erf %0 : (tensor<1xf32>) -> tensor<1xf32>
 
+  // CHECK: linalg.generic
+  // CHECK: sin
----------------
FranklandJack wrote:

nit: the other checks in this file prefix the op with its dialect sin -> math.sin, likewise for cos.

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


More information about the Mlir-commits mailing list