[Mlir-commits] [mlir] [mlir][tosa] Emit a runtime assertion when lowering `tosa.pad` with negative padding (PR #232221)

Mehdi Amini llvmlistbot at llvm.org
Sat Oct 17 02:47:14 PDT 2026


================

----------------
joker-eph wrote:

```suggestion
    The TOSA specification requires a negative padding to be diagnosed
    (`ERROR_IF`). The lowering to the tensor dialect emits a runtime
    assertion.
```

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


More information about the Mlir-commits mailing list