<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/58802>58802</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [TOSA] TosaOptionalDecompositions failure with non-zero pad
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          YellowHCH
      </td>
    </tr>
</table>

<pre>
    In llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaDecomposeConv2D.cpp
non-zero pad should be considerd here.

`   // Pad must be 0 for this optimization
    for (APInt pad : op.getPad().getAsValueRange<IntegerAttr>()) {
      if (!pad.isZero())
        return failure();
    }`
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxNUcFupDAM_ZpwsYogAWY4cKDDVu2p1W610vYWwEBWIUFJ6Kj9-jXMdDuSFSfx87P93Nr-o3oyoPX7fLc4-xe7wPjDrJUjp1VLZ6Okvny_Wi8356Txg3Wzv_412Nl5sR5P1rzzJu6WhSUNS2pjzd0nOguL7MFPdtU9tAidNV716HqY0GF8wV7PIgEA4iWDF8qaVx-2nASoIoRJebBLULP6lEFZc8milD3M-LF-eTJhr8dETdB4xEA8FGG83B61_y31ij-lGZGJE6FxRFeH4Jj4cYGRATvcf3MDqAH2WErMsfJvNNR_7C0OwGFYnYFBKr06vILEDRk7NDRlhFVaFIdcpGmeRX0l-lKUMgoqaKxYfv_6_KtmeQObvs_LNqrUXzqr7em_SsBZhQlupY5Wp6sphMWTBhctR8KsbUz5215p21d3s3Tl_YrbSvPjMeHRVGVHIVKyQRR9V3a8wKyXbSGyQ1oWQyEjLVvUfuuWcW7wDDsF3anxSFU84TxNkywRSZ5ncctlWQhxkJy3BfYDyxKcaYR46yO2boxctbfUrqOnoFY--O-g9F6NBndxNn65hsm66g9qbc-Pp8doL17tzf8DMRngdQ">