[Mlir-commits] [mlir] [mlir][tosa] Make TOSA MUL's Shift an Input (PR #121953)

Georgios Pinitas llvmlistbot at llvm.org
Mon Jan 27 11:11:44 PST 2025


================
@@ -810,7 +837,7 @@ def Tosa_MulOp : Tosa_ElementwiseOp<"mul", [
   let arguments = (ins
     Tosa_Tensor:$input1,
     Tosa_Tensor:$input2,
-    I8Attr:$shift
+    TosaTensorRankOf<[Tosa_Int8], [1]>:$shift
----------------
GeorgeARM wrote:

Why not make this optional rather than having to drag over zero shift tensors and parameters around.

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


More information about the Mlir-commits mailing list