[Mlir-commits] [mlir] [mlir][tosa] Validate variable element types (PR #205873)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Jul 11 10:09:14 PDT 2026


mygitljf wrote:

Thanks! I’ve addressed both nits. I folded the diagnostic into the existing element-type check, changed it to return `LogicalResult`, and renamed it to `validateValidElementType`. The shared validation path still covers operands, results, and the declared type on `tosa.variable`.

I also removed the duplicate static-shape test and kept the dynamic-shape reproducer from the issue. 

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


More information about the Mlir-commits mailing list