[Mlir-commits] [mlir] [mlir][Tosa] fix fp16/bf16 support for Clamp min/max attributes (PR #69192)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Oct 19 10:03:03 PDT 2023
================
@@ -380,15 +380,17 @@ def Tosa_ClampOp : Tosa_ElementwiseOp<"clamp"> {
Tosa_Tensor:$input,
I64Attr:$min_int,
I64Attr:$max_int,
- F32Attr:$min_fp,
- F32Attr:$max_fp
+ Tosa_FloatAttr:$min_fp,
+ Tosa_FloatAttr:$max_fp
);
let results = (outs
Tosa_Tensor:$output
);
let hasCanonicalizer = 1;
+
----------------
fabrizio-indirli wrote:
fixed
https://github.com/llvm/llvm-project/pull/69192
More information about the Mlir-commits
mailing list