[Mlir-commits] [mlir] [mlir][tosa] Require PadOp's pad_const to be rank1 (PR #129156)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Feb 28 08:19:08 PST 2025
================
@@ -1883,7 +1883,7 @@ def Tosa_PadOp : Tosa_InferShapedTypeOp<"pad"> {
let arguments = (ins
Tosa_RankedTensor:$input1,
Tosa_Shape:$padding,
- Optional<Tosa_Rank0Tensor>:$pad_const,
+ Optional<Tosa_ScalarTensor>:$pad_const,
----------------
Jerry-Ge wrote:
Yes. That's on the way.
https://github.com/llvm/llvm-project/pull/129156
More information about the Mlir-commits
mailing list