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

Jack Frankland llvmlistbot at llvm.org
Thu Jan 23 06:43:11 PST 2025


================
@@ -805,7 +805,7 @@ def Tosa_MulOp : Tosa_ElementwiseOp<"mul", [
   let arguments = (ins
     Tosa_Tensor:$input1,
     Tosa_Tensor:$input2,
-    I8Attr:$shift
+    Optional<TosaTensorRankOf<[Tosa_Int8], [0]>>:$shift
----------------
FranklandJack wrote:

You're correct on both counts. I will update the rank to 1 and make the operand non-optional.



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


More information about the Mlir-commits mailing list