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

Longsheng Mou llvmlistbot at llvm.org
Fri Jan 3 04:36:07 PST 2025


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

Thanks for your reply , I understand it. I'll fix my PR follows the v1.0 Spec.

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


More information about the Mlir-commits mailing list