[Mlir-commits] [mlir] [mlir][tosa] Shape operation level checks limited to MAX_SHAPE_LEN (PR #175020)

Udaya Ranga llvmlistbot at llvm.org
Fri Jan 9 03:15:01 PST 2026


================
@@ -255,6 +249,18 @@ struct TosaValidation : public tosa::impl::TosaValidationBase<TosaValidation> {
     return levelCheckSize(op, v.getType(), operandOrResult);
   }
 
+  // Perform the Level shape length check on a value.
+  LogicalResult levelCheckShapeLength(Operation *op, const Type typeToCheck,
+                                      const StringRef operandOrResult) {
----------------
udaya-ranga wrote:

Unused ?

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


More information about the Mlir-commits mailing list