[all-commits] [llvm/llvm-project] dde7b8: [mlir][Tosa] fix fp16/bf16 support for Clamp min/m...
fabrizio-indirli via All-commits
all-commits at lists.llvm.org
Fri Oct 20 01:44:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dde7b80ed071dfb874b91e15f2ba413af4d9a6b5
https://github.com/llvm/llvm-project/commit/dde7b80ed071dfb874b91e15f2ba413af4d9a6b5
Author: fabrizio-indirli <fabrizio.indirli at arm.com>
Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
M mlir/include/mlir/Dialect/Tosa/IR/TosaTypesBase.td
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/ops.mlir
Log Message:
-----------
[mlir][Tosa] fix fp16/bf16 support for Clamp min/max attributes (#69192)
In TOSA MLIR dialect, fix the definition of the Clamp op to
accept fp16 & bf16 datatype for the min_fp and max_fp attributes.
Add ClampOp verifier to check attributes types compatibility.
Add related test cases in Tosa/ops.mlir.
Signed-off-by: Fabrizio Indirli <Fabrizio.Indirli at arm.com>
More information about the All-commits
mailing list