[Mlir-commits] [mlir] [mlir][tosa] Add missing verifier for `tosa.pad` (PR #120934)

Georgios Pinitas llvmlistbot at llvm.org
Mon Dec 23 02:44:09 PST 2024


================
@@ -1566,7 +1566,7 @@ def Tosa_PadOp : Tosa_InferShapedTypeOp<"pad"> {
 
   let arguments = (ins
     Tosa_RankedTensor:$input1,
-    Tosa_Int32Or64Tensor:$padding,
+    2DTensorOf<[Tosa_Int32Or64]>:$padding,
----------------
GeorgeARM wrote:

Thought that `padding` is of rank 1 and dimensions size equal to `2 * rank(input)`. 

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


More information about the Mlir-commits mailing list