[Mlir-commits] [mlir] [mlir][tosa] Change the shift of mul to be required (PR #125297)
Georgios Pinitas
llvmlistbot at llvm.org
Mon Feb 3 11:53:47 PST 2025
================
@@ -812,7 +812,8 @@ def Tosa_MulOp : Tosa_Op<"mul", [
let arguments = (ins
Tosa_Tensor:$input1,
Tosa_Tensor:$input2,
- Optional<TosaTensorRankOf<[Tosa_Int8], [1]>>:$shift
+ // Apply right shift on i32_t input data only
+ Tosa_ScalarInt8Tensor:$shift
----------------
GeorgeARM wrote:
Why shall this be required at dialect level? Not in favor of a compulsory parameters when it doesn't make sense. Any good reasoning behind this?
https://github.com/llvm/llvm-project/pull/125297
More information about the Mlir-commits
mailing list